| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 33 | protected function execute(InputInterface $input, OutputInterface $output) |
||
| 34 | { |
||
| 35 | $processName = $input->getOption('process'); |
||
| 36 | $inputFile = $input->getOption('input'); |
||
| 37 | $outputFile = $input->getOption('output'); |
||
| 38 | |||
| 39 | $process = (new ProcessRunDataProvider()) |
||
| 40 | ->setName($processName) |
||
| 41 | ->setInput($inputFile) |
||
| 42 | ->setOutput($outputFile); |
||
| 43 | |||
| 44 | $this->getFacade()->runProcess($process); |
||
| 45 | } |
||
| 46 | } |