@@ 113-120 (lines=8) @@ | ||
110 | $reader->methods[$i->getName()]=$block; |
|
111 | } |
|
112 | //property annotations |
|
113 | foreach ($rfl->getProperties() as $i){ |
|
114 | if ($i->isStatic()) { |
|
115 | continue; |
|
116 | } |
|
117 | $block = self::readAnnotationBlock($i->getDocComment()); |
|
118 | $block->name = $i->getName(); |
|
119 | $reader->properties[$i->getName()]=$block; |
|
120 | } |
|
121 | while ($rfl = $rfl->getParentClass()) { |
|
122 | foreach ($rfl->getProperties(\ReflectionProperty::IS_PRIVATE) as $i) { |
|
123 | if ($i->isStatic()) { |
|
@@ 122-129 (lines=8) @@ | ||
119 | $reader->properties[$i->getName()]=$block; |
|
120 | } |
|
121 | while ($rfl = $rfl->getParentClass()) { |
|
122 | foreach ($rfl->getProperties(\ReflectionProperty::IS_PRIVATE) as $i) { |
|
123 | if ($i->isStatic()) { |
|
124 | continue; |
|
125 | } |
|
126 | $block = self::readAnnotationBlock($i->getDocComment()); |
|
127 | $block->name = $i->getName(); |
|
128 | $reader->properties[$i->getName()]=$block; |
|
129 | } |
|
130 | } |
|
131 | return $reader; |
|
132 | } |