From 29062fb42e7dd31874f74a1ceb1fd686c290b6ad Mon Sep 17 00:00:00 2001 From: Thomas Landauer Date: Wed, 14 Dec 2016 21:39:47 +0100 Subject: [PATCH] Update working-with-associations.rst --- docs/en/reference/working-with-associations.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/reference/working-with-associations.rst b/docs/en/reference/working-with-associations.rst index 32fcfdaba..2ef52f781 100644 --- a/docs/en/reference/working-with-associations.rst +++ b/docs/en/reference/working-with-associations.rst @@ -457,7 +457,7 @@ following code: $em->flush(); 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 cascade the persist operation to all nested entities that are new as well.