Conditions | 3 |
Paths | 3 |
Total Lines | 13 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | public function handle(): void |
||
20 | { |
||
21 | if ($name = $this->argument('module')) { |
||
22 | $module = $this->laravel['modules']->findOrFail($name); |
||
23 | |||
24 | $this->publish($module); |
||
25 | |||
26 | return; |
||
27 | } |
||
28 | |||
29 | /** @var \Rawilk\LaravelModules\Module $module */ |
||
30 | foreach ($this->laravel['modules']->allEnabled() as $module) { |
||
31 | $this->publish($module); |
||
32 | } |
||
43 |