| Total Complexity | 3 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class ServiceProvider extends \Illuminate\Support\ServiceProvider |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Register the service provider. |
||
| 11 | * |
||
| 12 | * @return void |
||
| 13 | */ |
||
| 14 | public function register() |
||
| 15 | { |
||
| 16 | if ($this->app->runningInConsole()) { |
||
| 17 | $this->commands( |
||
| 18 | [ |
||
| 19 | GenerateCommand::class, |
||
| 20 | ShowFilesCommand::class, |
||
| 21 | ShowUntranslatedCommand::class, |
||
| 22 | DownloadCommand::class, |
||
| 23 | ] |
||
| 24 | ); |
||
| 25 | } |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Bootstrap any application services. |
||
| 30 | * |
||
| 31 | * @return void |
||
| 32 | */ |
||
| 33 | public function boot() |
||
| 38 | ] |
||
| 39 | ); |
||
| 41 | } |