Total Complexity | 4 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
16 | trait TVolume |
||
17 | { |
||
18 | use TTranslate; |
||
19 | |||
20 | /** |
||
21 | * @param string $path |
||
22 | * @throws AuthException |
||
23 | * @return array<int, array<int, string>> |
||
24 | */ |
||
25 | 17 | protected function openFile(string $path): array |
|
32 | } |
||
33 | |||
34 | abstract public function explosion(string $input): array; |
||
35 | |||
36 | abstract public function filterEmptyLines(string $input): bool; |
||
37 | |||
38 | /** |
||
39 | * @param string $path |
||
40 | * @param array<int, array<int, string|int>> $lines |
||
41 | * @throws AuthException |
||
42 | */ |
||
43 | 5 | protected function saveFile(string $path, array $lines): void |
|
49 | } |
||
50 | } |
||
51 | |||
52 | abstract public function implosion(array $input): string; |
||
53 | } |
||
54 |