Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
47 | 3 | protected function doExecuteCommand(InputInterface $input, OutputInterface $output) |
|
48 | { |
||
49 | 3 | $videoId = $input->getArgument('video-id'); |
|
50 | 3 | $video = new Video(); |
|
51 | 3 | $video->setId($videoId); |
|
52 | 3 | $this->getCloud($input)->deleteVideo($video); |
|
53 | 1 | $output->writeln('<info>Successfully deleted video with id '.$videoId.'</info>'); |
|
54 | 1 | } |
|
55 | } |
||
56 |