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