Bristol SU Support Package
|
Static Protected Member Functions | |
static | getFacadeAccessor () |
Facade for testing permissions and registering testers
static bool evaluate(string $ability) Test if the currently authenticated user/group/role has the given ability static bool evaluateFor(string $ability, ?User $userModel = null, ?Group $group = null, ?Role $role = null) Test if the given set of credentials have a given ability static void register(Tester $tester) Register a new permission tester
Definition at line 21 of file PermissionTester.php.
|
staticprotected |
Get the binding in the laravel container
Definition at line 29 of file PermissionTester.php.