1
0
mirror of synced 2025-03-25 09:23:51 +03:00

Clarified versionadded on EntityListeners feature.

This commit is contained in:
Benjamin Eberlei 2013-02-27 12:19:08 +01:00
parent d5dd7d6f8a
commit 6b85d5b5ac

View File

@ -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.