Exemplo n.º 1
0
 /**
  * @MethodInterceptor(class-expression=ClassSimpleAOPAnnotation3,expression=someProtectedMethod)
  */
 public function methodInterceptorProtected(MethodInvocation $invocation)
 {
     $invocation->getObject()->something = 'protected';
     $invocation->proceed();
 }