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