RoleHierarchy
in package
implements
RoleHierarchyInterface
RoleHierarchy defines a role hierarchy.
Tags
Interfaces, Classes, Traits and Enums
- RoleHierarchyInterface
- RoleHierarchyInterface is the interface for a role hierarchy.
Table of Contents
- $map : mixed
- $hierarchy : mixed
- __construct() : mixed
- getReachableRoleNames() : array<string|int, string>
- getReachableRoles() : mixed
- {@inheritdoc}
- buildRoleMap() : mixed
Properties
$map
protected
mixed
$map
$hierarchy
private
mixed
$hierarchy
Methods
__construct()
public
__construct(array<string|int, mixed> $hierarchy) : mixed
Parameters
- $hierarchy : array<string|int, mixed>
-
An array defining the hierarchy
Return values
mixed —getReachableRoleNames()
public
getReachableRoleNames(array<string|int, string> $roles) : array<string|int, string>
Parameters
- $roles : array<string|int, string>
Return values
array<string|int, string> —getReachableRoles()
{@inheritdoc}
public
getReachableRoles(array<string|int, mixed> $roles) : mixed
Parameters
- $roles : array<string|int, mixed>
Return values
mixed —buildRoleMap()
protected
buildRoleMap() : mixed