W3cubDocs

/Symfony 4.0

Symfony\Component\Security\Core\Role

Classes

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–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/Security/Core/Role.html