| Total Complexity | 5 |
| Total Lines | 59 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class PackageTranslatorLoaderServiceProvider extends ServiceProvider |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * Perform post-registration booting of services. |
||
| 13 | * |
||
| 14 | * @return void |
||
| 15 | */ |
||
| 16 | public function boot(): void |
||
| 21 | } |
||
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Register any package services. |
||
| 26 | * |
||
| 27 | * @return void |
||
| 28 | */ |
||
| 29 | public function register(): void |
||
| 41 | } |
||
| 42 | ); |
||
| 43 | } |
||
| 44 | |||
| 45 | /** |
||
| 46 | * Get the services provided by the provider. |
||
| 47 | * |
||
| 48 | * @return array |
||
| 49 | */ |
||
| 50 | public function provides(): array |
||
| 51 | { |
||
| 52 | return ['package-translator-loader']; |
||
| 53 | } |
||
| 54 | |||
| 55 | /** |
||
| 56 | * Console-specific booting. |
||
| 57 | * |
||
| 58 | * @return void |
||
| 59 | */ |
||
| 60 | protected function bootForConsole(): void |
||
| 68 | ); |
||
| 69 | } |
||
| 71 |