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