1
0
Fork 0
mirror of synced 2025-04-03 13:23:37 +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 the value is the event type. The allowed event types are the ones
listed in the previous Lifecycle Events section. listed in the previous Lifecycle Events section.
.. versionadded:: 2.4
Lifecycle Callbacks Event Argument Lifecycle Callbacks Event Argument
----------------------------------- -----------------------------------
.. versionadded:: 2.4
Since 2.4 the triggered event is given to the lifecycle-callback. Since 2.4 the triggered event is given to the lifecycle-callback.
With the additional argument you have access to the With the additional argument you have access to the
@ -653,6 +653,8 @@ EntityManager.
Entity listeners Entity listeners
---------------- ----------------
.. versionadded:: 2.4
An entity listeners is a lifecycle listener classes used for an entity. 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. - The entity listeners mapping may be applied to an entity class or mapped superclass.