Merge branch 'master' of github.com:doctrine/doctrine2
This commit is contained in:
commit
665efad039
@ -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);
|
||||
|
@ -21,6 +21,7 @@ Index
|
||||
- :ref:`@Id <annref_id>`
|
||||
- :ref:`@InheritanceType <annref_inheritancetype>`
|
||||
- :ref:`@JoinColumn <annref_joincolumn>`
|
||||
- :ref:`@JoinColumns <annref_joincolumns>`
|
||||
- :ref:`@JoinTable <annref_jointable>`
|
||||
- :ref:`@ManyToOne <annref_manytoone>`
|
||||
- :ref:`@ManyToMany <annref_manytomany>`
|
||||
|
Loading…
x
Reference in New Issue
Block a user