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