| Conditions | 3 |
| Paths | 3 |
| Total Lines | 11 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 25 | protected function findProperties(\ReflectionClass $class): array |
||
| 26 | { |
||
| 27 | $properties = []; |
||
| 28 | |||
| 29 | foreach ($class->getProperties() as $property) { |
||
| 30 | if ($annotation = $this->getPropertyAnnotation($property, $this->getAnnotation())) { |
||
| 31 | $properties[$property->getName()] = $annotation; |
||
| 32 | } |
||
| 33 | } |
||
| 34 | |||
| 35 | return $properties; |
||
| 36 | } |
||
| 47 |