| Total Complexity | 4 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | class Autowiring implements ContainerInterface |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @var Reflection |
||
| 16 | */ |
||
| 17 | private $reflection; |
||
| 18 | /** |
||
| 19 | * @var ContainerInterface |
||
| 20 | */ |
||
| 21 | private $container; |
||
| 22 | |||
| 23 | 15 | public function __construct(Reflection $reflection, ContainerInterface $container) |
|
| 27 | 15 | } |
|
| 28 | |||
| 29 | 9 | public function get($id) |
|
| 35 | } |
||
| 36 | |||
| 37 | 12 | public function has($id): bool |
|
| 42 |