PHP Класс Neos\Flow\Security\Authorization\AfterInvocationProcessorManager

It resolves automatically any available AfterInvcocationProcessorInterface for the given return object and calls them.
Наследование: implements Neos\Flow\Security\Authorization\AfterInvocationManagerInterface
Показать файл Открыть проект

Открытые методы

Метод Описание
process ( Context $securityContext, object $object, Neos\Flow\Aop\JoinPointInterface $joinPoint ) : boolean Processes the given return object. May throw an security exception or filter the result depending on the current user rights.
supports ( string $className ) : boolean Returns TRUE if a appropriate after invocation processor is available to process return objects of the given classname

Описание методов

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

It resolves any available AfterInvocationProcessor for the given return object and invokes them. The naming convention is: [InterceptedClassName]_[InterceptedMethodName]_AfterInvocationProcessor
public process ( Context $securityContext, object $object, Neos\Flow\Aop\JoinPointInterface $joinPoint ) : boolean
$securityContext Neos\Flow\Security\Context The current security context
$object object The return object to be processed
$joinPoint Neos\Flow\Aop\JoinPointInterface The joinpoint of the returning method
Результат boolean TRUE if access is granted, FALSE if the manager abstains from decision

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

Returns TRUE if a appropriate after invocation processor is available to process return objects of the given classname
public supports ( string $className ) : boolean
$className string The classname that should be checked
Результат boolean TRUE if this access decision manager can decide on objects with the given classname