| Total Complexity | 3 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class LaravelJobHandlerServiceProvider extends ServiceProvider |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Perform post-registration booting of services. |
||
| 12 | * |
||
| 13 | * @return void |
||
| 14 | */ |
||
| 15 | public function boot() |
||
| 16 | { |
||
| 17 | $this->loadMigrationsFrom(__DIR__.'/migrations'); |
||
| 18 | |||
| 19 | if ($this->app->runningInConsole()) { |
||
| 20 | $this->commands([ |
||
| 21 | LaravelJobHandlerClearLogsCommand::class |
||
| 22 | ]); |
||
| 23 | } |
||
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Register any package services. |
||
| 28 | * |
||
| 29 | * @return void |
||
| 30 | */ |
||
| 31 | public function register() |
||
| 35 | ); |
||
| 36 | } |
||
| 38 |