Total Complexity | 6 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Coverage | 94.74% |
Changes | 0 |
1 | <?php |
||
9 | abstract class BaseCommand extends Command |
||
10 | { |
||
11 | 36 | public function handle() |
|
27 | } |
||
28 | |||
29 | 36 | protected function requestedDocset() |
|
30 | { |
||
31 | 36 | $classBasename = Str::studly($this->argument('doc')); |
|
|
|||
32 | |||
33 | 36 | return class_exists("App\\Docsets\\$classBasename") |
|
34 | ? "App\\Docsets\\$classBasename" |
||
35 | 36 | : "Godbout\\DashDocsetBuilder\\Docsets\\$classBasename"; |
|
36 | } |
||
37 | |||
38 | 36 | protected function requestedAction() |
|
41 | } |
||
42 | |||
43 | 36 | protected function isSupported() |
|
48 |