| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 9 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 46 | 3 | protected function doExecuteCommand(InputInterface $input, OutputInterface $output) |
|
| 47 | { |
||
| 48 | 3 | $encodingId = $input->getArgument('encoding-id'); |
|
| 49 | 3 | $encoding = new Encoding(); |
|
| 50 | 3 | $encoding->setId($encodingId); |
|
| 51 | 3 | $this->getCloud($input)->retryEncoding($encoding); |
|
| 52 | 1 | $output->writeln( |
|
| 53 | 1 | '<info>Successfully restarted encoding with id '.$encodingId |
|
| 54 | 1 | .'</info>' |
|
| 55 | ); |
||
| 56 | 1 | } |
|
| 57 | } |
||
| 58 |