Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
20 | protected function configure() |
||
21 | { |
||
22 | parent::configure(); |
||
23 | $this |
||
24 | ->setName('mongodb:database:drop') |
||
25 | ->setDescription('Drops a database') |
||
26 | ->addArgument('database', InputArgument::REQUIRED, 'The database to drop') |
||
27 | ->addOption('if-exists', null, InputOption::VALUE_NONE, 'Don\'t trigger an error, when the database do not exists') |
||
28 | ; |
||
29 | } |
||
30 | |||
42 |