1
0
Fork 0
mirror of synced 2025-04-03 05:13:37 +03:00

Update working-with-associations.rst

This commit is contained in:
Thomas Landauer 2016-12-14 21:39:47 +01:00 committed by GitHub
parent a06f8d4759
commit 29062fb42e

View file

@ -457,7 +457,7 @@ following code:
$em->flush(); $em->flush();
Even if you *persist* a new User that contains our new Comment this Even if you *persist* a new User that contains our new Comment this
code requires the explicit call to code requires an explicit call to
``EntityManager#persist($myFirstComment)``. Doctrine 2 does not ``EntityManager#persist($myFirstComment)``. Doctrine 2 does not
cascade the persist operation to all nested entities that are new cascade the persist operation to all nested entities that are new
as well. as well.