Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
31 | 1 | protected function execute(InputInterface $input, OutputInterface $output) |
|
32 | { |
||
33 | 1 | $collection = $input->getArgument('collection'); |
|
34 | 1 | ||
35 | 1 | $this->io->writeln(sprintf('Dropping collection %s', $collection)); |
|
|
|||
36 | 1 | $this->connection->dropCollection($collection); |
|
37 | $this->io->writeln('Collection dropped'); |
||
38 | |||
39 | return 0; |
||
40 | } |
||
42 |