| Total Complexity | 3 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | final class Instantiator |
||
| 10 | { |
||
| 11 | /** @var ConstructorInstantiatorStrategy */ |
||
| 12 | private $constructor; |
||
| 13 | |||
| 14 | /** @var PropertyInstantiatorStrategy */ |
||
| 15 | private $property; |
||
| 16 | |||
| 17 | 9 | public function __construct(ConstructorInstantiatorStrategy $constructor, PropertyInstantiatorStrategy $property) |
|
| 21 | 9 | } |
|
| 22 | |||
| 23 | /** |
||
| 24 | * @param mixed[] $parameters array<string, mixed> |
||
| 25 | */ |
||
| 26 | 9 | public function instantiate(AnnotationMetadata $metadata, iterable $parameters) : object |
|
| 35 |