AfterInvocationManagerInterface
interface AfterInvocationManagerInterface (View source)
Contract for an after invocation manager. It is used to check return values of a method against security rules.
Methods
bool
process(Context $securityContext, object $object, JoinPointInterface $joinPoint)
Processes the given return object. May throw an security exception or filter the result depending on the current user rights.
bool
supports(string $className)
Returns true if this after invocation processor can process return objects of the given class name
Details
bool
process(Context $securityContext, object $object, JoinPointInterface $joinPoint)
Processes the given return object. May throw an security exception or filter the result depending on the current user rights.
bool
supports(string $className)
Returns true if this after invocation processor can process return objects of the given class name