PHP 인터페이스 Neos\Flow\Security\Authorization\AfterInvocationProcessorInterface

파일 보기 프로젝트 열기: neos/flow-development-collection

공개 메소드들

메소드 설명
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