| Conditions | 2 |
| Paths | 2 |
| Total Lines | 22 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | public function boot() |
||
| 16 | { |
||
| 17 | if ($this->app->runningInConsole()) { |
||
| 18 | $this->commands([ |
||
| 19 | Install::class, |
||
| 20 | ]); |
||
| 21 | } |
||
| 22 | |||
| 23 | $this->loadRoutesFrom(__DIR__.'/routes.php'); |
||
| 24 | |||
| 25 | $this->loadViewsFrom(__DIR__ . '/../resources/views', 'schematics'); |
||
| 26 | |||
| 27 | $this->publishes([ |
||
| 28 | __DIR__.'/../config/schematics.php' => config_path('schematics.php'), |
||
| 29 | ]); |
||
| 30 | |||
| 31 | $this->publishes([ |
||
| 32 | __DIR__.'/../dist' => public_path('vendor/schematics'), |
||
| 33 | __DIR__.'/../resources/images/plumb-arrows' => public_path('vendor/schematics/images'), |
||
| 34 | __DIR__.'/../resources/images/icons' => public_path('vendor/schematics/images'), |
||
| 35 | ], 'public'); |
||
| 36 | } |
||
| 37 | |||
| 48 |