Total Complexity | 8 |
Total Lines | 38 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class Missing |
||
11 | { |
||
12 | 2 | public function get(): array |
|
13 | { |
||
14 | 2 | return array_diff($this->sourceAvailable(), $this->mainAvailable()); |
|
15 | } |
||
16 | |||
17 | 2 | protected function mainAvailable(): array |
|
18 | { |
||
19 | 2 | return LocaleSupport::availableAll(); |
|
20 | } |
||
21 | |||
22 | 2 | protected function sourceAvailable(): array |
|
33 | } |
||
34 | |||
35 | 2 | protected function sourcePath(): string |
|
36 | { |
||
37 | 2 | $path = IlluminateConfig::get(Config::KEY_PRIVATE . '.vendor'); |
|
38 | |||
39 | 2 | return rtrim($path, '/') . '/src'; |
|
40 | } |
||
41 | |||
42 | /** |
||
43 | * @return \DirectoryIterator|\DirectoryIterator[] |
||
44 | */ |
||
45 | 2 | protected function directories(): DirectoryIterator |
|
48 | } |
||
49 | } |
||
50 |