| Total Complexity | 6 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class PropertyResolver implements PropertyResolverInterface |
||
| 9 | { |
||
| 10 | protected array $accessors = []; |
||
| 11 | |||
| 12 | 90 | public function __construct(array $accessors = []) |
|
| 13 | { |
||
| 14 | 90 | $this->accessors = $accessors; |
|
| 15 | } |
||
| 16 | |||
| 17 | 90 | public function resolveProperty(object $object, string $property) |
|
| 34 | ) |
||
| 35 | ); |
||
| 36 | } |
||
| 37 | |||
| 38 | 90 | protected function resolvePropertyAccessor(string $property): ?string |
|
| 41 | } |
||
| 42 | } |
||
| 43 |