Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
34 | protected function execute(InputInterface $input, OutputInterface $output) |
||
35 | { |
||
36 | $queue = $this->getContainer()->get('jobqueue'); |
||
37 | |||
38 | if ($queue->flush()) { |
||
39 | $output->writeLn('<info>Cleaned exceptions</info>'); |
||
40 | } else { |
||
41 | $output->writeLn('<info>Flush failed</info>'); |
||
42 | } |
||
43 | } |
||
44 | } |
||
45 |