| Conditions | 2 |
| Paths | 2 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | 19 | public function boot() |
|
| 8 | { |
||
| 9 | 19 | $this->registerRoutes(); |
|
| 10 | |||
| 11 | 19 | if ($this->app->runningInConsole()) { |
|
| 12 | 19 | $this->registerMigrations(); |
|
| 13 | |||
| 14 | 19 | $this->publishes([ |
|
| 15 | 19 | __DIR__.'/../config/restricted-access.php' => config_path('restricted-access.php'), |
|
| 16 | 19 | ], 'config'); |
|
| 17 | |||
| 18 | |||
| 19 | 19 | $this->commands([ |
|
| 20 | 19 | // |
|
| 44 |