Total Complexity | 6 |
Total Lines | 42 |
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 | /** @var string */ |
||
23 | protected $startPath = ''; |
||
24 | /** @var ArrayPath */ |
||
25 | protected $pathLib = null; |
||
26 | |||
27 | 12 | public function __construct(?IMiTranslations $lang = null) |
|
31 | 12 | } |
|
32 | |||
33 | 10 | public function canUse($source): bool |
|
47 | } |
||
48 | |||
49 | abstract protected function hasDependencies(): bool; |
||
50 | |||
51 | /** |
||
52 | * @param string[] $path |
||
53 | * @throws PathsException |
||
54 | * @return string |
||
55 | */ |
||
56 | 6 | protected function pathOnVolume(array $path): string |
|
61 |