Total Complexity | 5 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
12 | class TranslationFinderCommand extends Command |
||
13 | { |
||
14 | protected function configure() |
||
15 | { |
||
16 | $this->setName('finder') |
||
17 | ->setDescription('Finds non-translated texts and replaces them with translate tokens') |
||
18 | ->addOption('config', null, InputOption::VALUE_REQUIRED, 'Path to config file. Instance of TranslationFinder have to be returned') |
||
19 | ->addOption('params', null, InputOption::VALUE_REQUIRED, 'Params for config in format a=b&c=d'); |
||
20 | } |
||
21 | |||
22 | protected function execute(InputInterface $input, OutputInterface $output) |
||
37 | } |
||
38 | } |
||
39 |