Update working-with-associations.rst
Fixed syntax highlighting
This commit is contained in:
parent
7f1c1d2b4a
commit
036547e956
@ -474,6 +474,7 @@ removed from the system:
|
|||||||
|
|
||||||
.. code-block:: php
|
.. code-block:: php
|
||||||
|
|
||||||
|
<?php
|
||||||
$user = $em->find('User', $deleteUserId);
|
$user = $em->find('User', $deleteUserId);
|
||||||
|
|
||||||
foreach ($user->getAuthoredComments() AS $comment) {
|
foreach ($user->getAuthoredComments() AS $comment) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user