diff --git a/Command/Proxy/CollectionRegionDoctrineCommand.php b/Command/Proxy/CollectionRegionDoctrineCommand.php index d12614537..c5df01599 100644 --- a/Command/Proxy/CollectionRegionDoctrineCommand.php +++ b/Command/Proxy/CollectionRegionDoctrineCommand.php @@ -26,7 +26,7 @@ protected function configure() protected function execute(InputInterface $input, OutputInterface $output) { - DoctrineCommandHelper::setApplicationConnection($this->getApplication(), $input->getOption('connection')); + DoctrineCommandHelper::setApplicationEntityManager($this->getApplication(), $input->getOption('em')); return parent::execute($input, $output); } diff --git a/Command/Proxy/EntityRegionCacheDoctrineCommand.php b/Command/Proxy/EntityRegionCacheDoctrineCommand.php index 4b2d40d56..55ea3b86f 100644 --- a/Command/Proxy/EntityRegionCacheDoctrineCommand.php +++ b/Command/Proxy/EntityRegionCacheDoctrineCommand.php @@ -26,7 +26,7 @@ protected function configure() protected function execute(InputInterface $input, OutputInterface $output) { - DoctrineCommandHelper::setApplicationConnection($this->getApplication(), $input->getOption('connection')); + DoctrineCommandHelper::setApplicationEntityManager($this->getApplication(), $input->getOption('em')); return parent::execute($input, $output); } diff --git a/Command/Proxy/QueryRegionCacheDoctrineCommand.php b/Command/Proxy/QueryRegionCacheDoctrineCommand.php index 084841b90..b7b761bb7 100644 --- a/Command/Proxy/QueryRegionCacheDoctrineCommand.php +++ b/Command/Proxy/QueryRegionCacheDoctrineCommand.php @@ -26,7 +26,7 @@ protected function configure() protected function execute(InputInterface $input, OutputInterface $output) { - DoctrineCommandHelper::setApplicationConnection($this->getApplication(), $input->getOption('connection')); + DoctrineCommandHelper::setApplicationEntityManager($this->getApplication(), $input->getOption('em')); return parent::execute($input, $output); }