/** * @Go\After("execution(public **->*(*))") * * @param AbstractMethodInvocation $methodInvocation * * @return mixed */ public function postPublicMethod(AbstractMethodInvocation $methodInvocation) { $scope = get_class($methodInvocation->getThis()); foreach ($this->interceptors as $interceptor) { $interceptor($methodInvocation, $scope); } return $methodInvocation->proceed(); }