Total Complexity | 5 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
16 | trait TLines |
||
17 | { |
||
18 | use TPathTransform; |
||
19 | |||
20 | /** |
||
21 | * @param string $input |
||
22 | * @throws PathsException |
||
23 | * @return array<int, string> |
||
24 | */ |
||
25 | 22 | public function explosion(string $input): array |
|
26 | { |
||
27 | 22 | return $this->expandName($input,IFile::SEPARATOR); |
|
28 | } |
||
29 | |||
30 | /** |
||
31 | * @param array<int, string|int|float> $input |
||
32 | * @throws PathsException |
||
33 | * @return string |
||
34 | */ |
||
35 | 12 | public function implosion(array $input): string |
|
38 | } |
||
39 | |||
40 | /** |
||
41 | * @param string $input |
||
42 | * @return bool |
||
43 | */ |
||
44 | 19 | public function filterEmptyLines(string $input): bool |
|
47 | } |
||
48 | |||
49 | 26 | public function stripChars(string $input): string |
|
52 | } |
||
53 | } |
||
54 |