Total Complexity | 6 |
Total Lines | 40 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | abstract class ALocalVolume implements IMimeChecks |
||
18 | { |
||
19 | use Traits\TCheckCalls; |
||
20 | use Traits\TResult; |
||
21 | |||
22 | protected string $startPath = ''; |
||
23 | protected ArrayPath $pathLib; |
||
24 | |||
25 | 12 | public function __construct(?IMiTranslations $lang = null) |
|
29 | } |
||
30 | |||
31 | 10 | public function canUse($source): bool |
|
45 | } |
||
46 | |||
47 | abstract protected function hasDependencies(): bool; |
||
48 | |||
49 | /** |
||
50 | * @param string[] $path |
||
51 | * @throws PathsException |
||
52 | * @return string |
||
53 | */ |
||
54 | 6 | protected function pathOnVolume(array $path): string |
|
59 |