| Total Complexity | 4 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 6 | final class PropertyAccessInjector implements Injector |
||
| 7 | { |
||
| 8 | 18 | public function inject(/*object */$target, string $property, /*object */$object): void |
|
| 9 | { |
||
| 10 | 18 | $this->createInjector($target)($property, $object); |
|
| 11 | } |
||
| 12 | |||
| 13 | 18 | private function createInjector(/*object */$target): \Closure |
|
| 22 | } |
||
| 23 | } |
||
| 24 |