Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Tests | 2 |
CRAP Score | 1.125 |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types = 1); |
||
28 | 13 | public function __construct(array $valueOrValues) |
|
29 | { |
||
30 | // Parse argument injection data |
||
31 | 13 | list($argumentName, $argumentType) = each($this->parseAnnotationValue($valueOrValues)); |
|
|
|||
32 | |||
33 | // Pass to injectable argument configurator |
||
34 | parent::__construct($argumentName, $argumentType); |
||
35 | } |
||
36 | } |
||
37 |