diff --git a/en/reference/events.rst b/en/reference/events.rst index 1a31cb1a5..dc4f40fe0 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::