Property | Type | Description | |
---|---|---|---|
$authorizationService | ZfcRbac\Service\AuthorizationServiceInterface | ||
$rules | array | Route guard rules Those rules are an associative array that map a rule with one or multiple permissions |
Method | Description | |
---|---|---|
__construct ( ZfcRbac\Service\AuthorizationServiceInterface $authorizationService, array $rules = [] ) | ||
isGranted ( |
{@inheritDoc} | |
setRules ( array $rules ) : void | Set the rules (it overrides any existing rules) |
public __construct ( ZfcRbac\Service\AuthorizationServiceInterface $authorizationService, array $rules = [] ) | ||
$authorizationService | ZfcRbac\Service\AuthorizationServiceInterface | |
$rules | array |
public isGranted ( |
||
$event |
protected AuthorizationServiceInterface,ZfcRbac\Service $authorizationService | ||
return | ZfcRbac\Service\AuthorizationServiceInterface |
protected array $rules | ||
return | array |