| Total Complexity | 4 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class LangSwitcherServiceProvider extends ServiceProvider |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var array |
||
| 11 | */ |
||
| 12 | protected $commands = [ |
||
| 13 | Console\InstallCommand::class, |
||
| 14 | Console\PublishCommand::class, |
||
| 15 | ]; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * Register the service provider. |
||
| 19 | * |
||
| 20 | * @return void |
||
| 21 | */ |
||
| 22 | public function register() |
||
| 23 | { |
||
| 24 | $this->commands($this->commands); |
||
| 25 | } |
||
| 26 | |||
| 27 | private function publishAssets() |
||
| 32 | ] |
||
| 33 | ); |
||
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * {@inheritdoc} |
||
| 38 | */ |
||
| 39 | public function boot() |
||
| 44 | } |
||
| 45 | } |
||
| 47 |