Total Complexity | 7 |
Total Lines | 45 |
Duplicated Lines | 0 % |
Coverage | 79.17% |
Changes | 0 |
1 | <?php |
||
10 | abstract class BaseCommand extends Command |
||
11 | { |
||
12 | 36 | public function handle() |
|
36 | } |
||
37 | |||
38 | 36 | protected function requestedDocset() |
|
39 | { |
||
40 | 36 | $classBasename = Str::studly($this->argument('doc')); |
|
|
|||
41 | |||
42 | 36 | return class_exists("App\\Docsets\\$classBasename") |
|
43 | ? "App\\Docsets\\$classBasename" |
||
44 | 36 | : "Godbout\\DashDocsetBuilder\\Docsets\\$classBasename"; |
|
45 | } |
||
46 | |||
47 | 36 | protected function requestedAction() |
|
50 | } |
||
51 | |||
52 | 36 | protected function isSupported() |
|
57 |