| Total Complexity | 4 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 26 | class Json extends Base |
||
| 27 | { |
||
| 28 | public function load(string $path): array |
||
| 39 | } |
||
| 40 | |||
| 41 | public function store(string $path, $content): string |
||
| 42 | { |
||
| 43 | Arr::storeAsJson($path, $content, false, JSON_UNESCAPED_UNICODE ^ JSON_PRETTY_PRINT); |
||
| 44 | |||
| 45 | return $path; |
||
| 46 | } |
||
| 47 | |||
| 48 | public function delete(string $path): void |
||
| 51 | } |
||
| 52 | } |
||
| 53 |