| Total Complexity | 3 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class ContextContainer implements ContainerInterface |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var CompositeContextContainer |
||
| 14 | */ |
||
| 15 | private $container; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var string The context that this container uses |
||
| 19 | */ |
||
| 20 | private $context; |
||
| 21 | 1 | public function __construct(CompositeContextContainer $parent, string $context) |
|
| 25 | 1 | } |
|
| 26 | |||
| 27 | 1 | public function get($id) |
|
| 30 | } |
||
| 31 | |||
| 32 | 1 | public function has($id) |
|
| 37 |