| Total Complexity | 5 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 4 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 29 | class ServiceProvider extends BaseServiceProvider |
||
| 30 | { |
||
| 31 | public function boot(): void |
||
| 32 | { |
||
| 33 | $this->bootPublishes(); |
||
| 34 | $this->bootCommands(); |
||
| 35 | } |
||
| 36 | |||
| 37 | public function register(): void |
||
| 38 | { |
||
| 39 | $this->config(); |
||
| 40 | } |
||
| 41 | |||
| 42 | protected function bootCommands(): void |
||
| 43 | { |
||
| 44 | $this->commands([ |
||
| 45 | Add::class, |
||
| 46 | Reset::class, |
||
| 47 | Remove::class, |
||
| 48 | Update::class, |
||
| 49 | ]); |
||
| 50 | } |
||
| 51 | |||
| 52 | protected function bootPublishes(): void |
||
| 57 | } |
||
| 58 | |||
| 59 | protected function config(): void |
||
| 63 | } |
||
| 64 | } |
||
| 65 |