| Total Complexity | 5 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | final class Manager implements Contract |
||
| 11 | { |
||
| 12 | use Containable; |
||
| 13 | use Contains; |
||
| 14 | use Logger; |
||
|
|
|||
| 15 | |||
| 16 | 28 | public function load(string $path, string $main_path = null): array |
|
| 17 | { |
||
| 18 | 28 | $this->log('Loading data from an array:', $path, $main_path); |
|
| 19 | |||
| 20 | 28 | return $this->filesystem($path)->load($path, $main_path); |
|
| 21 | } |
||
| 22 | |||
| 23 | 28 | public function store(string $path, array $content) |
|
| 28 | } |
||
| 29 | |||
| 30 | 28 | public function ensureKeys(string $path): void |
|
| 35 | 28 | } |
|
| 36 | 28 | ||
| 37 | protected function filesystem(string $path): Contract |
||
| 46 |