Skip to content

Commit

Permalink
Create module.goalioforgotpassword-doctrine-orm.global.php.dist
Browse files Browse the repository at this point in the history
To address issue goalio#5: An alias "goalioforgotpassword_doctrine_em" was requested but no service could be found
  • Loading branch information
cpa99dcs committed Aug 29, 2014
1 parent 8894334 commit 0a2b1a7
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions config/module.goalioforgotpassword-doctrine-orm.global.php.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?php
/**
* Define the service manager alias for the doctrine entity manager that goalioforgotpassword needs
* because DoctrineModule does not seem to support the use of aliased service names.
*
* @link https://github.com/doctrine/DoctrineModule/issues/246
* @link https://github.com/goalio/GoalioForgotPasswordDoctrineORM/issues/5
*/
return array(
'service_manager' => array(
'aliases' => array(
'goalioforgotpassword_doctrine_em' => 'Doctrine\ORM\EntityManager',
)
)
);

0 comments on commit 0a2b1a7

Please sign in to comment.