| Conditions | 2 |
| Paths | 2 |
| Total Lines | 19 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 27 | public function boot() |
||
| 28 | { |
||
| 29 | $this->mergeConfigFrom(__DIR__.'/../config/master.php', 'master-data'); |
||
| 30 | |||
| 31 | $databasePath = __DIR__.'/../database/migrations'; |
||
| 32 | $this->loadMigrationsFrom($databasePath); |
||
| 33 | |||
| 34 | if (class_exists(Application::class)) { |
||
| 35 | $this->publishes( |
||
| 36 | [ |
||
| 37 | __DIR__.'/../config/master.php' => config_path('master-data.php'), |
||
| 38 | ], |
||
| 39 | 'config' |
||
| 40 | ); |
||
| 41 | } |
||
| 42 | |||
| 43 | $this->loadViewsFrom(realpath(__DIR__.'/../resources/views'), 'master'); |
||
| 44 | |||
| 45 | $this->registerRoutes(); |
||
| 46 | } |
||
| 54 |