Conditions | 2 |
Paths | 2 |
Total Lines | 12 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 6 |
Changes | 0 |
1 | <?php |
||
39 | public function handle() |
||
40 | { |
||
41 | $this->module = $this->argument('module'); |
||
42 | $this->modulePath = $this->repository->getModulePath($this->module); |
||
|
|||
43 | |||
44 | if (!$this->repository->filesExist($this->modulePath)) { |
||
45 | $this->call('modulize:make:module', [ |
||
46 | 'module' => $this->module, |
||
47 | ]); |
||
48 | } |
||
49 | |||
50 | parent::handle(); |
||
51 | } |
||
53 |