PHP Interface Neos\Flow\Security\Authorization\AfterInvocationProcessorInterface

Afficher le fichier Open project: neos/flow-development-collection

Méthodes publiques

Méthode Description
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

Method Details

process() public méthode

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
Résultat void

supports() public méthode

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
Résultat boolean TRUE if this access decision manager can decide on objects with the given class name