Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 2 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
19 | protected function configure() |
||
20 | { |
||
21 | parent::configure(); |
||
22 | $this |
||
23 | ->setName('mongodb:database:create') |
||
24 | ->setDescription('Creates the configured database') |
||
25 | ->addOption( |
||
26 | 'if-not-exists', |
||
27 | null, |
||
28 | InputOption::VALUE_NONE, |
||
29 | 'Don\'t trigger an error, when the database already exists' |
||
30 | ); |
||
31 | } |
||
32 | |||
40 | } |