Symfony\Component\Security\Core\Role\RoleHierarchy
RoleHierarchy defines a role hierarchy.
- Author: Fabien Potencier <fabien@symfony.com>
Synopsis
class RoleHierarchy
implements
RoleHierarchyInterface
{
- // members
- private $hierarchy;
- private $map;
- // methods
- public void __construct()
- public array getReachableRoles()
- private void buildRoleMap()
Hierarchy
Members
private
- $hierarchy
- $map
Methods
private
public
- __construct() — Constructor.
- getReachableRoles() — Returns an array of all roles reachable by the given ones.