/** * {@inheritdoc} */ protected function initialize(InputInterface $input, OutputInterface $output) { parent::initialize($input, $output); if ($input->getOption('em')) { CommandHelper::setApplicationEntityManager($this->getHelper('container'), $input->getOption('em')); } $this->cacheCleaner->invalidate(); }
/** * {@inheritdoc} */ protected function initialize(InputInterface $input, OutputInterface $output) { parent::initialize($input, $output); $this->cacheCleaner->invalidate(); }
/** * {@inheritdoc} */ protected function initialize(InputInterface $input, OutputInterface $output) { parent::initialize($input, $output); Debugger::$productionMode = !$input->getOption('debug-mode'); $this->cacheCleaner->invalidate(); }