From 879d4e7df063745f534115aedc8ac35f7139c37e Mon Sep 17 00:00:00 2001 From: Thomas Landauer Date: Wed, 14 Dec 2016 21:46:18 +0100 Subject: [PATCH] Update working-with-associations.rst --- docs/en/reference/working-with-associations.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/en/reference/working-with-associations.rst b/docs/en/reference/working-with-associations.rst index 2ef52f781..7e088f944 100644 --- a/docs/en/reference/working-with-associations.rst +++ b/docs/en/reference/working-with-associations.rst @@ -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