| Total Complexity | 2 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | final class Install extends BaseCommand |
||
| 11 | { |
||
| 12 | protected $signature = 'lang:install' |
||
| 13 | . ' {locales?* : Space-separated list of, eg: de tk it}' |
||
| 14 | . ' {--f|force : Override exiting files}'; |
||
| 15 | |||
| 16 | protected $description = 'Install new localizations.'; |
||
| 17 | |||
| 18 | protected $action = Action::class; |
||
| 19 | |||
| 20 | protected function processor(): ProcessorContract |
||
| 21 | { |
||
| 22 | $this->log('Getting the processor: ' . Processor::class); |
||
| 23 | |||
| 24 | return Processor::make()->force($this->hasForce()); |
||
| 25 | } |
||
| 26 | |||
| 27 | protected function targetLocales(): array |
||
| 32 | } |
||
| 33 | } |
||
| 34 |