1
0
mirror of synced 2025-02-06 15:29:26 +03:00

Mention flush cannot be called inside postFlush

This commit is contained in:
Benjamin Eberlei 2013-03-12 18:50:45 +01:00
parent 905c0b9d91
commit b6c3fc5b1a

View File

@ -535,8 +535,8 @@ The following restrictions apply to the onFlush event:
postFlush postFlush
~~~~~~~~~ ~~~~~~~~~
``postFlush`` is called at the end of ``EntityManager#flush()``. ``EntityManager#flush()`` can be ``postFlush`` is called at the end of ``EntityManager#flush()``.
called safely inside its listeners. ``EntityManager#flush()`` can **NOT** be called safely inside its listeners.
.. code-block:: php .. code-block:: php