Commit f7cf7bc6 authored by Guillaume Perréal's avatar Guillaume Perréal
Browse files

N'affiche pas les attributs hérités.

parent 762ddf49
...@@ -27,6 +27,11 @@ class AttributeDecorator implements DecoratorInterface ...@@ -27,6 +27,11 @@ class AttributeDecorator implements DecoratorInterface
{ {
foreach($class->getProperties() as $property) { foreach($class->getProperties() as $property) {
/* @var $property ReflectionProperty */ /* @var $property ReflectionProperty */
if ($property->getDeclaringClass() != $class) {
continue;
}
$node->addAttribute( $node->addAttribute(
new Member( new Member(
$property->getName(), $property->getName(),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment