RoleHierarchy
class RoleHierarchy implements RoleHierarchyInterface
Class RoleHierarchy is injected as all.user.access.role_hierarchy
Properties
| protected array | $tree |
Methods
__construct(EntityManager $em)
No description
array
getTree()
No description
getReachableRoles(array $roles)
{@inheritdoc}
buildTree(array $node)
Recursive processing of each nested set node.
getReachableChilds(string $role, array $auth)
Recursive collection of authorized roles.
Details
at line 31
__construct(EntityManager $em)
at line 51
array
getTree()
at line 59
getReachableRoles(array $roles)
{@inheritdoc}
at line 75
protected
buildTree(array $node)
Recursive processing of each nested set node.
at line 94
protected
getReachableChilds(string $role, array $auth)
Recursive collection of authorized roles.