Clarified versionadded on EntityListeners feature.
This commit is contained in:
parent
d5dd7d6f8a
commit
6b85d5b5ac
1 changed files with 4 additions and 2 deletions
|
@ -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.
|
||||||
|
|
Loading…
Add table
Reference in a new issue