Skip to content


DDC-2572: ResolveTargetEntityListener does not work as documented. #3300

doctrinebot opened this Issue · 2 comments

2 participants


Jira issue originally created by user selosindis:

Your documentation on RTEL shows this example:

$evm = new \Doctrine\Common\EventManager;

$rtel = new \Doctrine\ORM\Tools\ResolveTargetEntityListener;
$rtel->addResolveTargetEntity('Acme\\InvoiceModule\\Model\\InvoiceSubjectInterface', 'Acme\\CustomerModule\\Entity\\Customer', array());

// Add the ResolveTargetEntityListener

$em = \Doctrine\ORM\EntityManager::create($connectionOptions, $config, $evm);

However, ResolveTargetEntityListener does not implement EventSubscriber, so it fails.


Comment created by @FabioBatSilva:

Fixed by : 0a42401


Issue was closed with resolution "Fixed"

@beberlei beberlei was assigned by doctrinebot
@doctrinebot doctrinebot added this to the 2.5 milestone
@doctrinebot doctrinebot closed this
@doctrinebot doctrinebot added the Bug label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.