protected function execute(InputInterface $input, OutputInterface $output) { DoctrineODMCommand::setApplicationDocumentManager($this->getApplication(), $input->getOption('dm')); parent::execute($input, $output); }
/** * @return boolean */ public function isEnabled() { return parent::isEnabled() && class_exists('Doctrine\\Common\\DataFixtures\\Loader'); }
/** * @return boolean */ public function isEnabled() { return parent::isEnabled() && class_exists(Loader::class); }