Свойство | Тип | Описание | |
---|---|---|---|
$roleService | |||
$rules | array | Those rules are an associative array that map a rule with one or multiple roles |
Метод | Описание | |
---|---|---|
__construct ( |
Constructor | |
isGranted ( |
{@inheritDoc} | |
setRules ( array $rules ) : void | Set the rules (it overrides any existing rules) |
public __construct ( |
||
$roleService | ||
$rules | array |
public isGranted ( |
||
$event |
protected RoleService,ZfcRbac\Service $roleService | ||
Результат |
protected array $rules | ||
Результат | array |