| Total Complexity | 2 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class DbRouterServiceProvider extends ServiceProvider |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Indicates if loading of the provider is deferred. |
||
| 12 | * |
||
| 13 | * @var bool |
||
| 14 | */ |
||
| 15 | protected $defer = true; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * Bootstrap the application services. |
||
| 19 | */ |
||
| 20 | 36 | public function boot() |
|
| 21 | { |
||
| 22 | // publish the migrations and seeds |
||
| 23 | 36 | $this->publishes([__DIR__.'/../database/migrations/' => database_path('migrations')], 'migrations'); |
|
| 24 | |||
| 25 | 36 | $this->loadRoutesFrom(__DIR__.'/../routes/web.php'); |
|
| 26 | 36 | } |
|
| 27 | |||
| 28 | /** |
||
| 29 | * Register the application services. |
||
| 30 | */ |
||
| 31 | 36 | public function register() |
|
| 34 | 36 | } |
|
| 35 | } |
||
| 36 |