| Total Complexity | 3 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 22 | class UpdateTranslationConfigurationsCommand extends Command |
||
| 23 | { |
||
| 24 | protected static $defaultName = 'zikula:translation:updateconfig'; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @var TranslationConfigHelper |
||
| 28 | */ |
||
| 29 | private $translationConfigHelper; |
||
| 30 | |||
| 31 | public function __construct(TranslationConfigHelper $translationConfigHelper) |
||
| 35 | } |
||
| 36 | |||
| 37 | protected function configure() |
||
| 38 | { |
||
| 39 | $this |
||
| 40 | ->setDescription('Updates translation configurations based on currently installed and activated extensions.') |
||
| 41 | ; |
||
| 42 | } |
||
| 43 | |||
| 44 | protected function execute(InputInterface $input, OutputInterface $output): int |
||
| 53 | } |
||
| 54 | } |
||
| 55 |