JMSAopBundle icon indicating copy to clipboard operation
JMSAopBundle copied to clipboard

Interceptor misses calls to methods while in the middle of an invocation

Open nlaplante opened this issue 12 years ago • 1 comments

I have some methods annotated for AOP logging. The pointcuts are correctly registered. The problem is that, if a method which has a registered pointcut is called by code executed in $invocation->proceed() in the interceptor (from another method having a registered pointcut), then it does not get intercepted.

nlaplante avatar Aug 07 '12 21:08 nlaplante

Do you call the method via reflection, then you might by-pass the intercepting method?

schmittjoh avatar Sep 16 '12 18:09 schmittjoh