class Bar
{
/**
* @Bos\Normalize()
*/
public function getName(): string
{
return 'john wick';
}
}
class Foo extends Bar
{
/**
* PHPDoc without @Bos\Normalize annotation
*/
public function getName(): string
{
return 'John Wick';
}
}
When normalizing getName() from Foo, nothing will output.
We should make an annotation that indicates that the parent Normalize() annotations should be inherited.
Example:
class Foo extends Bar
{
/**
* @Bos\InheritNormalize()
*/
public function getName(): string
{
return 'John Wick';
}
}