1
0
mirror of synced 2025-01-18 06:21:40 +03:00

Merge pull request #662 from jakzal/code-block-fix

Fixed a code block.
This commit is contained in:
Benjamin Eberlei 2013-05-09 07:27:35 -07:00
commit 540af2fd2a

View File

@ -119,8 +119,7 @@ the targetEntity resolution will occur reliably:
$evm = new \Doctrine\Common\EventManager;
$rtel = new \Doctrine\ORM\Tools\ResolveTargetEntityListener;
$rtel->addResolveTargetEntity('Acme\\InvoiceModule\\Model\\InvoiceSubjectInterface',
'Acme\\CustomerModule\\Entity\\Customer', array());
$rtel->addResolveTargetEntity('Acme\\InvoiceModule\\Model\\InvoiceSubjectInterface', 'Acme\\CustomerModule\\Entity\\Customer', array());
// Add the ResolveTargetEntityListener
$evm->addEventSubscriber($rtel);