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