Neos\Flow\Security\Authorization\Privilege\Method\MethodPrivilegePointcutFilter::buildPointcutFilters PHP Метод

buildPointcutFilters() защищенный Метод

Builds the needed pointcut filters for matching the policy privileges
protected buildPointcutFilters ( ) : boolean
Результат boolean
    protected function buildPointcutFilters()
    {
        $this->filters = [];
        /** @var PolicyService $policyService */
        $policyService = $this->objectManager->get(PolicyService::class);
        /** @var MethodPrivilegeInterface[] $methodPrivileges */
        $methodPrivileges = $policyService->getAllPrivilegesByType(MethodPrivilegeInterface::class);
        foreach ($methodPrivileges as $privilege) {
            $this->filters[$privilege->getCacheEntryIdentifier()] = $privilege->getPointcutFilterComposite();
        }
    }