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