Permalink
Browse files

Fixed default entity manager for doctrine:oxm:mapping:info command

  • Loading branch information...
richardfullmer committed Aug 9, 2011
1 parent 40c2b12 commit c36a602ce935040c9170d22277aa053d5e6a10c6
Showing with 1 addition and 3 deletions.
  1. +1 −3 Command/InfoDoctrineOXMCommand.php
@@ -35,9 +35,7 @@ protected function configure()
protected function execute(InputInterface $input, OutputInterface $output)
{
- $xmlEntityManagerName = $input->getOption('xem') ?
- $input->getOption('xem') :
- $this->getContainer()->getParameter('doctrine.oxm.default_xml_entity_manager');
+ $xmlEntityManagerName = $input->getOption('xem') ? $input->getOption('xem') : 'default';
$xmlEntityManagerService = sprintf('doctrine.oxm.%s_xml_entity_manager', $xmlEntityManagerName);

0 comments on commit c36a602

Please sign in to comment.