From b6c3fc5b1ab8f97ba3a47b5a667ef8986c48059e Mon Sep 17 00:00:00 2001 From: Benjamin Eberlei Date: Tue, 12 Mar 2013 18:50:45 +0100 Subject: [PATCH] Mention flush cannot be called inside postFlush --- docs/en/reference/events.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/reference/events.rst b/docs/en/reference/events.rst index abafcc9d4..df8c594bc 100644 --- a/docs/en/reference/events.rst +++ b/docs/en/reference/events.rst @@ -535,8 +535,8 @@ The following restrictions apply to the onFlush event: postFlush ~~~~~~~~~ -``postFlush`` is called at the end of ``EntityManager#flush()``. ``EntityManager#flush()`` can be -called safely inside its listeners. +``postFlush`` is called at the end of ``EntityManager#flush()``. +``EntityManager#flush()`` can **NOT** be called safely inside its listeners. .. code-block:: php