W3cubDocs

/Symfony 2.8

Symfony\Component\Security\Core\Role

Role Role is a simple implementation of a RoleInterface where the role is a string.
RoleHierarchy RoleHierarchy defines a role hierarchy.
SwitchUserRole SwitchUserRole is used when the current user temporarily impersonates another one.

Interfaces

RoleHierarchyInterface RoleHierarchyInterface is the interface for a role hierarchy.
RoleInterface RoleInterface represents a role granted to a user.

© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.8/Symfony/Component/Security/Core/Role.html