diff --git a/docs/en/reference/events.rst b/docs/en/reference/events.rst index d7579da85..abafcc9d4 100644 --- a/docs/en/reference/events.rst +++ b/docs/en/reference/events.rst @@ -335,11 +335,11 @@ The ``key`` of the lifecycleCallbacks is the name of the method and the value is the event type. The allowed event types are the ones listed in the previous Lifecycle Events section. -.. versionadded:: 2.4 - Lifecycle Callbacks Event Argument ----------------------------------- +.. versionadded:: 2.4 + Since 2.4 the triggered event is given to the lifecycle-callback. With the additional argument you have access to the @@ -653,6 +653,8 @@ EntityManager. Entity listeners ---------------- +.. versionadded:: 2.4 + An entity listeners is a lifecycle listener classes used for an entity. - The entity listeners mapping may be applied to an entity class or mapped superclass.