(string $folderKey)
| 246 | } |
| 247 | |
| 248 | private function loadMeta(string $folderKey): array |
| 249 | { |
| 250 | $mf = $this->metaFile($folderKey); |
| 251 | if (!is_file($mf)) { |
| 252 | return []; |
| 253 | } |
| 254 | $d = json_decode(@file_get_contents($mf), true); |
| 255 | return is_array($d) ? $d : []; |
| 256 | } |
| 257 | |
| 258 | private function saveMeta(string $folderKey, array $meta): void |
| 259 | { |
no test coverage detected