1
0
mirror of synced 2025-02-20 22:23:14 +03:00

Update resolve-target-entity-listener.rst

Another syntax highlighting fix
This commit is contained in:
Matthieu Napoli 2013-08-14 12:14:02 +02:00
parent eaeeee7740
commit ad2ae4c4b4

View File

@ -40,6 +40,7 @@ A Customer entity
.. code-block:: php
<?php
// src/Acme/AppModule/Entity/Customer.php
namespace Acme\AppModule\Entity;
@ -62,6 +63,7 @@ An Invoice entity
.. code-block:: php
<?php
// src/Acme/InvoiceModule/Entity/Invoice.php
namespace Acme\InvoiceModule\Entity;
@ -88,6 +90,7 @@ An InvoiceSubjectInterface
.. code-block:: php
<?php
// src/Acme/InvoiceModule/Model/InvoiceSubjectInterface.php
namespace Acme\InvoiceModule\Model;
@ -116,6 +119,7 @@ the targetEntity resolution will occur reliably:
.. code-block:: php
<?php
$evm = new \Doctrine\Common\EventManager;
$rtel = new \Doctrine\ORM\Tools\ResolveTargetEntityListener;