Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
30 | private function dump(string $name): void |
||
31 | { |
||
32 | /** @var \Rawilk\LaravelModules\Module $module */ |
||
33 | $module = $this->laravel['modules']->findOrFail($name); |
||
34 | |||
35 | $this->line("<comment>Running for module</comment>: {$module}"); |
||
36 | |||
37 | chdir($module->getPath()); |
||
38 | |||
39 | passthru('composer dump -o -n -q'); |
||
40 | } |
||
42 |