| Conditions | 3 |
| Paths | 3 |
| Total Lines | 9 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 3 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 42 | 11 | protected function resolveClassAnnotations(\ReflectionClass $classData, ClassMetadata $metadata) |
|
| 43 | { |
||
| 44 | /** @var ClassInterface $annotation Read class annotations */ |
||
| 45 | 11 | foreach ($this->reader->getClassAnnotations($classData) as $annotation) { |
|
| 46 | 10 | if ($annotation instanceof ClassConfiguratorInterface) { |
|
| 47 | 10 | $annotation->toClassMetadata($metadata); |
|
| 48 | } |
||
| 49 | } |
||
| 50 | 11 | } |
|
| 51 | } |
||
| 52 |