Property | Type | Description | |
---|---|---|---|
$role | The role to be assigned to an authority. |
Method | Description | |
---|---|---|
__construct ( |
Constructor. | |
to ( |
Assign the role to the given authority. |
Method | Description | |
---|---|---|
assignRole ( |
Assign the role to the authorities with the given keys. | |
getAuthoritiesWithRole ( |
Get the keys of the authorities that already have the given role. | |
role ( ) : |
Get or create the role. |
public __construct ( |
||
$role |
protected getAuthoritiesWithRole ( |
||
$role | ||
$class | string | |
$ids | array | |
return |
protected role ( ) : |
||
return |
protected Role,Silber\Bouncer\Database|string $role | ||
return |