What's Changed
- Bouncer from strings by @danmcadams in #4
- Create new factory
Bouncer
use this instead of the oldBouncerFactory
Bouncer::allow(array|string $subjects = [])
will create an AllowBouncerBouncer::deny(array|string $subjects = [])
will create a DenyBouncer
- Bouncers can now be created by passing a string separated by semi-colons
- example:
Bouncer::allow('subject_one;subject_two;subject_three')
- example:
- Create new factory
Full Changelog: v2.0...v2.1