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