schmittjoh/JMSSecurityExtraBundle — pull request #128 by mmoreramerino (2013-05-09 15:12:54+00:00)
Title: Added support for annotations in parent methods, when method is not over...

...writted in current class

Example:

class A()
{

/**
* Secure(roles="ROLE_AMIN")
*/
public function AA()
{
echo 'engonga';
}
}

class B extends A
{

}

Previously, class B method AA() is not secure because main class of method is not the same as current class.
By adding ( If is current class or is subclass of ) this case is solved.

Tests are OK.