From 79c113b53267f57104e252328417e3d6ebdb8419 Mon Sep 17 00:00:00 2001 From: Michel Weimerskirch Date: Fri, 2 Sep 2011 22:38:47 +0300 Subject: [PATCH] Documented the onClear event. (using text from the docblock comment) --- en/reference/events.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/en/reference/events.rst b/en/reference/events.rst index 0b20ba4a9..05c54f524 100644 --- a/en/reference/events.rst +++ b/en/reference/events.rst @@ -166,6 +166,9 @@ the life-time of their registered entities. - onFlush - The onFlush event occurs after the change-sets of all managed entities are computed. This event is not a lifecycle callback. +- onClear - The onClear event occurs when the EntityManager#clear() operation is + invoked, after all references to entities have been removed from the unit of + work. .. warning::