Total Complexity | 5 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
14 | class Container implements ContainerInterface |
||
15 | { |
||
16 | protected array $data = []; |
||
17 | |||
18 | public function __construct(array $data) |
||
19 | { |
||
20 | $this->data = $data; |
||
21 | } |
||
22 | |||
23 | public function get(string $key = null) |
||
26 | } |
||
27 | |||
28 | public function set(array $data): void |
||
31 | } |
||
32 | |||
33 | public function has(string $key): bool |
||
38 |