| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 6 |
| Changes | 0 | ||
| 1 | <?php |
||
| 32 | protected function execute(InputInterface $input, OutputInterface $output) |
||
| 33 | { |
||
| 34 | $command = sprintf( |
||
| 35 | 'exec -i %s %s', |
||
| 36 | $input->getArgument('container'), |
||
| 37 | $input->getArgument('execcmd') |
||
| 38 | ); |
||
| 39 | |||
| 40 | $response = $this->getFacade()->runDocker($command); |
||
| 41 | |||
| 42 | if ($output->isVerbose()) { |
||
| 43 | $output->writeln($response); |
||
| 44 | } |
||
| 48 | } |