Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Tests | 8 |
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)->deleteEncoding($encoding); |
|
52 | 1 | $output->writeln( |
|
53 | 1 | '<info>Successfully deleted encoding with id '.$encodingId.'</info>' |
|
54 | ); |
||
55 | 1 | } |
|
56 | } |
||
57 |