| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | public function boot() |
||
| 20 | { |
||
| 21 | $this->mergeConfigFrom(__DIR__ . '/../../config/assets.php', 'assets'); |
||
| 22 | $this->loadViewsFrom(__DIR__ . '/../../resources/views', 'assets'); |
||
| 23 | |||
| 24 | if ($this->app->runningInConsole()) { |
||
| 25 | $this->publishes([__DIR__ . '/../../config/assets.php' => config_path('assets.php')], 'config'); |
||
| 26 | $this->publishes([__DIR__ . '/../../resources/views' => resource_path('views/vendor/assets')], 'views'); |
||
| 27 | } |
||
| 28 | } |
||
| 29 | } |
||
| 30 |