RoleHierarchyInterface
interface RoleHierarchyInterface
RoleHierarchyInterface is the interface for a role hierarchy.
Methods
Role[]
getReachableRoles(array $roles)
Returns an array of all reachable roles by the given ones.
Details
Role[]
getReachableRoles(array $roles)
Returns an array of all reachable roles by the given ones.
Reachable roles are the roles directly assigned but also all roles that are transitively reachable from them in the role hierarchy.