Total Complexity | 3 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class ServiceProvider extends \Illuminate\Support\ServiceProvider |
||
8 | { |
||
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 | } |
||
30 | |||
31 | /** |
||
32 | * @inheritDoc |
||
33 | */ |
||
34 | public function register() |
||
37 | } |
||
38 | } |
||
39 |