Conditions | 2 |
Paths | 2 |
Total Lines | 16 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 6 |
Changes | 0 |
1 | <?php |
||
18 | public function boot() |
||
19 | { |
||
20 | if ($this->app->runningInConsole()) { |
||
21 | $this->commands([ |
||
22 | MakeEntity::class, |
||
23 | ]); |
||
24 | |||
25 | $this->publishes([ |
||
26 | __DIR__ . '/../config/generators.php' => config_path('webfactor/generators.php'), |
||
27 | ], 'config'); |
||
28 | } |
||
29 | |||
30 | $this->mergeConfigFrom( |
||
31 | __DIR__ . '/../config/generators.php', 'webfactor.generators' |
||
32 | ); |
||
33 | } |
||
34 | |||
45 |