Свойство | 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 |
Méthode | 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 | ||
Résultat | ZfcRbac\Service\AuthorizationServiceInterface |
protected array $rules | ||
Résultat | array |