Total Complexity | 2 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | class DropCollectionCommand extends AbstractCommand |
||
15 | { |
||
16 | /** |
||
17 | 8 | * {@inheritdoc} |
|
18 | */ |
||
19 | 8 | protected function configure() |
|
20 | { |
||
21 | 8 | parent::configure(); |
|
22 | 8 | $this |
|
23 | 8 | ->setName('mongodb:collection:drop') |
|
24 | 8 | ->addArgument('collection', InputArgument::REQUIRED, 'collection to drop') |
|
25 | ->setDescription('Drops a database'); |
||
26 | } |
||
27 | |||
28 | /** |
||
29 | 1 | * {@inheritdoc} |
|
30 | */ |
||
31 | 1 | protected function execute(InputInterface $input, OutputInterface $output) |
|
40 | } |
||
41 | } |
||
42 |