Update working-with-associations.rst
This commit is contained in:
parent
a06f8d4759
commit
29062fb42e
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user