| Conditions | 3 |
| Paths | 3 |
| Total Lines | 11 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | protected function findProperties(\ReflectionClass $class): array |
||
| 15 | { |
||
| 16 | $fields = parent::findProperties($class); |
||
| 17 | |||
| 18 | foreach ($class->getMethods() as $method) { |
||
| 19 | if ($annotation = $this->getMethodAnnotation($method, $this->getAnnotation())) { |
||
| 20 | $fields[$method->getName()] = $annotation; |
||
| 21 | } |
||
| 22 | } |
||
| 23 | |||
| 24 | return $fields; |
||
| 25 | } |
||
| 32 |