| Total Complexity | 4 |
| Total Lines | 52 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | class ClientServiceProvider extends LaravelServiceProvider implements DeferrableProvider |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * Bootstrap services. |
||
| 22 | * |
||
| 23 | * @return void |
||
| 24 | */ |
||
| 25 | public function boot() |
||
| 26 | { |
||
| 27 | // |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Register services. |
||
| 32 | * |
||
| 33 | * @return void |
||
| 34 | */ |
||
| 35 | public function register() |
||
| 36 | { |
||
| 37 | $this->registerClient(); |
||
| 38 | |||
| 39 | $this->app->alias(Halo::class, 'Halo'); |
||
| 40 | } |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Get the services provided by the provider. |
||
| 44 | * |
||
| 45 | * @return array |
||
| 46 | */ |
||
| 47 | public function provides() |
||
| 52 | ]; |
||
| 53 | } |
||
| 54 | |||
| 55 | /** |
||
| 56 | * Register the client |
||
| 57 | * |
||
| 58 | * If the Halo id or roles are null, then assume sensible values via the API |
||
| 59 | */ |
||
| 60 | protected function registerClient(): void |
||
| 73 |