Neos\Flow\Security\Policy\Role::hasParentRole PHP Метод

hasParentRole() публичный Метод

Returns TRUE if the given role is a directly assigned parent of this role.
public hasParentRole ( Role $role ) : boolean
$role Role
Результат boolean
    public function hasParentRole(Role $role)
    {
        return isset($this->parentRoles[$role->getIdentifier()]);
    }