doctrine/DoctrineORMModule — pull request #95 by bakura10 (2012-07-27 15:53:33+00:00)
Title: Initial support for resolve target entities

This is what I've come up. Usage :

'eventmanager' => array(
'orm_default' => array(
'subscribers' => array(
'Doctrine\DBAL\Event\Listeners\MysqlSessionInit'
),
'resolve_target_entities' => array(
'User\Entity\UserInterface' => array(
'new_entity' => 'Application\Entity\User',
'mapping' => ... // mapping is optional
)
)
)
)