Total Complexity | 7 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Coverage | 88.89% |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
8 | final class Container extends ServiceLocator |
||
9 | { |
||
10 | private $baseContainer; |
||
11 | |||
12 | 17 | public function __construct(ContainerInterface $container = null) |
|
13 | { |
||
14 | 17 | $this->baseContainer = $container; |
|
15 | 17 | } |
|
16 | |||
17 | 17 | public function get($id, string $context = '') |
|
24 | } |
||
25 | |||
26 | 17 | public function has($id, string $context = ''): bool |
|
31 |