RoleSecurityIdentity::equals()

equals(SecurityIdentityInterface $sid) This method is used to compare two security identities in order to not rely on referential equality. Parameters SecurityIdentityInterface $sid

RoleHierarchyInterface

interface RoleHierarchyInterface RoleHierarchyInterface is the interface for a role hierarchy. Methods RoleInterface[] getReachableRoles(array $roles) Returns an array of all reachable roles by the given ones. Details RoleInterface[] getReachableRoles(array $roles) Returns an array of all reachable roles by the given ones. Reachable roles are the roles directly assigned but also all roles that are transitively reachable from them in the role hi

RoleInterface

interface RoleInterface RoleInterface represents a role granted to a user. A role must either have a string representation or it needs to be explicitly supported by at least one AccessDecisionManager. Methods string|null getRole() Returns the role. Details string|null getRole() Returns the role. This method returns a string representation whenever possible. When the role cannot be represented with sufficient precision by a string, it should ret

RoleHierarchyVoter

class RoleHierarchyVoter extends RoleVoter RoleHierarchyVoter uses a RoleHierarchy to determine the roles granted to the user before voting. Methods __construct(RoleHierarchyInterface $roleHierarchy, string $prefix = 'ROLE_') Constructor. Boolean supportsAttribute(string $attribute) Checks if the voter supports the given attribute. from RoleVoter Boolean supportsClass(string $class) Checks if the voter supports the given class. from RoleVoter integer vote(TokenInterface $tok

RoleHierarchy

class RoleHierarchy implements RoleHierarchyInterface RoleHierarchy defines a role hierarchy. Methods __construct(array $hierarchy) Constructor. RoleInterface[] getReachableRoles(array $roles) Returns an array of all reachable roles by the given ones. Details __construct(array $hierarchy) Constructor. Parameters array $hierarchy An array defining the hierarchy RoleInterface[] getReachableRoles(array $roles)

RingBuffer::offsetGet()

offsetGet($key) {@inheritdoc} Parameters $key

Role

class Role implements RoleInterface Role is a simple implementation of a RoleInterface where the role is a string. Methods __construct(string $role) Constructor. string|null getRole() Returns the role. Details __construct(string $role) Constructor. Parameters string $role The role name string|null getRole() Returns the role. This method returns a string representation whenever possible. When the

RingBuffer::offsetSet()

offsetSet($key, $value) {@inheritdoc} Parameters $key $value

RingBuffer::offsetUnset()

offsetUnset($key) {@inheritdoc} Parameters $key

RingBuffer::offsetUnset()

offsetUnset($key) {@inheritdoc} Parameters $key