Property | Type | Description | |
---|---|---|---|
$authority | The authority against which to check for roles. | ||
$clipboard | The bouncer clipboard instance. |
Method | Description | |
---|---|---|
__construct ( |
Constructor. | |
a ( string $role ) : boolean | Check if the authority has any of the given roles. | |
all ( string $role ) : boolean | Check if the authority has all of the given roles. | |
an ( string $role ) : boolean | Alias to the "a" method. | |
notA ( string $role ) : boolean | Check if the authority doesn't have any of the given roles. | |
notAn ( string $role ) : boolean | Alias to the "notA" method. |
public __construct ( |
||
$authority | ||
$clipboard |
protected Model,Illuminate\Database\Eloquent $authority | ||
return |