| Total Complexity | 3 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class ServiceProvider extends \Illuminate\Support\ServiceProvider |
||
| 8 | { |
||
| 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 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @inheritDoc |
||
| 31 | */ |
||
| 32 | 9 | public function register() |
|
| 42 | 9 | )); |
|
| 43 | } |
||
| 45 |