RoleSecurityIdentity

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 rel