| Conditions | 2 |
| Paths | 2 |
| Total Lines | 15 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | public function boot() |
||
| 23 | { |
||
| 24 | $this->publishConfig(__DIR__ . '/../config/' . $this->configFileName); |
||
| 25 | |||
| 26 | $this->loadMigrationsFrom(__DIR__.'/../database/migrations'); |
||
| 27 | |||
| 28 | if ($this->app->runningInConsole()) { |
||
| 29 | $this->commands([ |
||
| 30 | Commands\CreateBroker::class, |
||
| 31 | Commands\DeleteBroker::class, |
||
| 32 | Commands\ListBrokers::class, |
||
| 33 | ]); |
||
| 34 | } |
||
| 35 | |||
| 36 | $this->loadRoutes(); |
||
| 37 | } |
||
| 82 |