Total Complexity | 5 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | class Client implements Interfaces\IDrivingFile |
||
17 | { |
||
18 | use TLangInit; |
||
19 | |||
20 | 2 | public function exists(string $key): bool |
|
21 | { |
||
22 | 2 | return !empty($key); |
|
23 | } |
||
24 | |||
25 | 2 | public function store(string $key, string $data): string |
|
26 | { |
||
27 | 2 | return $data; |
|
28 | } |
||
29 | |||
30 | 2 | public function get(string $key): string |
|
31 | { |
||
32 | 2 | return $key; |
|
33 | } |
||
34 | |||
35 | 2 | public function remove(string $key): bool |
|
38 | } |
||
39 | |||
40 | 2 | public function checkKeyEncoder(DrivingFile\KeyEncoders\AEncoder $encoder): bool |
|
41 | { |
||
46 |