RoleHierarchyVoter
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 登录查看完整内容
|