Conditions | 2 |
Paths | 2 |
Total Lines | 20 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 6 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | public function boot() |
||
10 | { |
||
11 | if ($this->app->runningInConsole()) { |
||
12 | $this->loadMigrationsFrom(__DIR__.'/../database/migrations'); |
||
13 | |||
14 | $this->publishes([ |
||
15 | __DIR__ . '/../config/nova-ad-director.php' => config_path('nova-ad-director.php'), |
||
16 | ], 'config'); |
||
17 | |||
18 | $this->publishes([ |
||
19 | __DIR__.'/../resources/lang' => resource_path('lang/vendor/nova-ad-director'), |
||
20 | ], 'lang'); |
||
21 | |||
22 | |||
23 | $this->commands([ |
||
24 | AdConfigurationCreate::class, |
||
25 | ]); |
||
26 | } |
||
27 | |||
28 | $this->loadTranslationsFrom(__DIR__.'/../resources/lang', 'nova-ad-director'); |
||
29 | } |
||
39 |