Conditions | 3 |
Paths | 3 |
Total Lines | 9 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 3 |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types = 1); |
||
42 | 10 | protected function resolveClassPropertyAnnotations(\ReflectionProperty $property, PropertyMetadata $propertyMetadata) |
|
43 | { |
||
44 | /** @var PropertyConfiguratorInterface $annotation Read class annotations */ |
||
45 | 10 | foreach ($this->reader->getPropertyAnnotations($property) as $annotation) { |
|
46 | 10 | if ($annotation instanceof PropertyConfiguratorInterface) { |
|
47 | 10 | $annotation->toPropertyMetadata($propertyMetadata); |
|
48 | } |
||
49 | } |
||
50 | 10 | } |
|
51 | } |
||
52 |