Total Complexity | 3 |
Total Lines | 17 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | final class ReadOnlyContainer implements ContainerInterface |
||
8 | { |
||
9 | protected ContainerInterface $container; |
||
10 | |||
11 | public function __construct(ContainerInterface $container) |
||
12 | { |
||
13 | $this->container = $container; |
||
14 | } |
||
15 | |||
16 | public function get(string $id) |
||
19 | } |
||
20 | |||
21 | public function has(string $id): bool |
||
26 |