| Conditions | 2 |
| Paths | 2 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 36 | protected function initialize(InputInterface $input, OutputInterface $output) |
||
| 37 | { |
||
| 38 | parent::initialize($input, $output); |
||
| 39 | $this->client = $input->getOption('connection') |
||
| 40 | ? $this->getContainer()->get('mongo.connection.'.$input->getOption('connection')) |
||
| 41 | : $this->getContainer()->get('mongo.connection') |
||
| 42 | ; |
||
| 43 | } |
||
| 44 | } |
||
| 45 |