Total Complexity | 4 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
10 | class KeyValue implements ContainerInterface |
||
11 | { |
||
12 | /** |
||
13 | * @var array<string, mixed> |
||
14 | */ |
||
15 | private $values; |
||
16 | |||
17 | /** |
||
18 | * @param array<string, mixed> $values |
||
19 | */ |
||
20 | public function __construct(array $values) |
||
21 | { |
||
22 | $this->values = $values; |
||
23 | } |
||
24 | |||
25 | public function get($id) |
||
31 | } |
||
32 | |||
33 | public function has($id): bool |
||
36 | } |
||
37 | } |
||
38 |