Conditions | 2 |
Paths | 2 |
Total Lines | 8 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
43 | protected function execute(InputInterface $input, OutputInterface $output) { |
||
44 | $couch = $this->getConnection(); |
||
45 | |||
46 | if ($designDoc = $input->getOption('design-doc')) |
||
47 | $couch->compactView($this->getDatabase(), $designDoc); |
||
48 | else |
||
49 | $couch->compactDb($this->getDatabase()); |
||
50 | } |
||
51 | |||
52 | } |