Update working-with-associations.rst
This commit is contained in:
parent
29062fb42e
commit
879d4e7df0
1 changed files with 2 additions and 1 deletions
|
@ -500,7 +500,8 @@ and the "remove" operation.
|
|||
//...
|
||||
}
|
||||
|
||||
Now you can persist the `User` entity like that:
|
||||
Since ``cascade: persist`` is configured for the ``User#commentsAuthored``
|
||||
association, you can now create a user and persist his comment as follows:
|
||||
|
||||
.. code-block:: php
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue