Skip to content

v2.1

Latest
Compare
Choose a tag to compare
@danmcadams danmcadams released this 16 Mar 19:28
dafacd0

What's Changed

  • Bouncer from strings by @danmcadams in #4
    • Create new factory Bouncer use this instead of the old BouncerFactory
      • Bouncer::allow(array|string $subjects = []) will create an AllowBouncer
      • Bouncer::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')

Full Changelog: v2.0...v2.1