Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inherited method support #16

Open
lyzkov opened this issue Dec 14, 2012 · 0 comments
Open

Inherited method support #16

lyzkov opened this issue Dec 14, 2012 · 0 comments

Comments

@lyzkov
Copy link

lyzkov commented Dec 14, 2012

In my current projct I defined service which use methods inherited from another abstract class.

class MyManager extends AbstractManager
{
}

abstract class AbstractManager
{
    /** @MyAnnotation */
    public function custom()
    {
    }
}

For that service I wrote my Pointcut and Interceptor that use annotation reader (based on example from readme). The problem is that when I call MyManager::custom() intercept() method is not called. It is strange because my Pointcut allows Abstractmanager::custom() despite it is method of not instantiable class (I checked that echoing method name before return). However the inherited MyManager::custom() is not found by Pointcut.

I'm not sure if it is problem of annotation reader or maybe it is something wrong in JMSAop?

Marmelatze pushed a commit to Marmelatze/JMSAopBundle that referenced this issue Feb 25, 2013
jost125 pushed a commit to jost125/JMSAopBundle that referenced this issue Sep 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant