PHP Интерфейс Neos\Flow\Security\Authorization\AfterInvocationProcessorInterface

Показать файл Открыть проект

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

Метод Описание
process ( Context $securityContext, object $object, Neos\Flow\Aop\JoinPointInterface $joinPoint ) : void 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 this after invocation processor can process return objects of the given class name

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

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

It is resolved and called automatically by the after invocation processor manager. The naming convention for after invocation processors is: [InterceptedClassName]_[InterceptedMethodName]AfterInvocationProcessor
public process ( Context $securityContext, object $object, Neos\Flow\Aop\JoinPointInterface $joinPoint ) : void
$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
Результат void

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

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