I think that regardless of 'inherited' => true mark on the annotation we shouldn't inherit it from parent class in case of scope modifier of it's property/method was set to private.
class BaseClass
{
/**
* @note("First note annotation")
*/
private $prop1;
}
class SubClass extends BaseClass
{
/**
* @note("Second note annotation")
*/
private $prop1;
}
I suspect that if I redefine private property/method in sub-class, then it's entirely different property/method and can't have any inherited annotations on it.
Blocked by #94
I think that regardless of
'inherited' => truemark on the annotation we shouldn't inherit it from parent class in case of scope modifier of it's property/method was set to private.I suspect that if I redefine private property/method in sub-class, then it's entirely different property/method and can't have any inherited annotations on it.
Blocked by #94