| Total Complexity | 6 |
| Total Lines | 65 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class BlogApiServiceProvider extends ServiceProvider |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Bootstrap services. |
||
| 11 | * |
||
| 12 | * @return void |
||
| 13 | */ |
||
| 14 | public function boot(): void |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Register services. |
||
| 30 | * |
||
| 31 | * @return void |
||
| 32 | */ |
||
| 33 | public function register(): void |
||
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * Get the services provided by the provider. |
||
| 41 | * |
||
| 42 | * @return array<string>|null |
||
| 43 | */ |
||
| 44 | public function provides(): ?array |
||
| 45 | { |
||
| 46 | return ['blog-api']; |
||
| 47 | } |
||
| 48 | |||
| 49 | /** |
||
| 50 | * @return void |
||
| 51 | */ |
||
| 52 | protected function registerCommands(): void |
||
| 55 | // |
||
| 56 | ]); |
||
| 57 | } |
||
| 58 | |||
| 59 | /** |
||
| 60 | * @return void |
||
| 61 | */ |
||
| 62 | protected function registerAssetPublishing(): void |
||
| 72 | } |
||
| 73 | } |
||
| 74 |