Closed antonkomarev closed 7 years ago
The new logical Inverse group added. All flags from 1.x version moved to Classic logical group.
Inverse
1.x
Classic
How to upgrade
use Cog\Flag\Traits;
use Cog\Flag\Traits\Classic;
Cog\Flag\Traits\Classic
Cog\Flag\Scopes\Classic
Inverse Logic
is_expired
The new logical
Inverse
group added. All flags from1.x
version moved toClassic
logical group.How to upgrade
use Cog\Flag\Traits;
in your controllers.use Cog\Flag\Traits\Classic;
2.0.0 - 2016-01-04
Breaking changes
Classic
at the end:Cog\Flag\Traits\Classic
.Classic
at the end:Cog\Flag\Scopes\Classic
.Added
Inverse Logic
flags group. Hides entities if flag not set.is_expired
inverse boolean flag added.