RoleSecurityIdentity
class RoleSecurityIdentity implements SecurityIdentityInterface
A SecurityIdentity implementation for roles
Methods
__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.
Details
at line line 31
__construct(mixed $role)
Constructor
at line line 45
string
getRole()
Returns the role name
at line line 53
equals(SecurityIdentityInterface $sid)
This method is used to compare two security identities in order to not rely on referential equality.
at line line 69
string
__toString()
Returns a textual representation of this security identity.
This is solely used for debugging purposes, not to make an equality decision.