protected function execute(Console\Input\InputInterface $input, Console\Output\OutputInterface $output) { $audit = $this->getApplication()->getKernel()->getContainer()->getService('audit.maintenance'); $audit->flush(); if ($input->getOption('verbose')) { $output->writeln('Log data processed.'); } }