class RoleSecurityIdentity implements SecurityIdentityInterface
A SecurityIdentity implementation for roles
__construct(mixed $role) Constructor | ||
string | getRole() Returns the role name | |
equals(SecurityIdentityInterface $sid) This method is used to compare two security identities in order to not rely on referential equality. | ||
string | __toString() Returns a textual representation of this security identity. |
Constructor
Returns the role name
This method is used to compare two security identities in order to not rely on referential equality.
Returns a textual representation of this security identity.
This is solely used for debugging purposes, not to make an equality decision.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.7/Symfony/Component/Security/Acl/Domain/RoleSecurityIdentity.html