for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
/**
* This file is part of the theroadbunch/bouncer package.
*
* (c) Dan McAdams <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace RoadBunch\Bouncer;
* Class Bouncer
* @author Dan McAdams <[email protected]>
class Bouncer
{
public static function allow(array|string $subjects = []): BouncerInterface
return new AllowBouncer($subjects);
}
public static function deny(array|string $subjects = []): BouncerInterface
return new DenyBouncer($subjects);