#470 DDC-54 DDC-3005 - documenting postLoad
and Doctrine\ORM\AbstractQuery#iterate()
partial incompatibility
This commit is contained in:
parent
f571a9ef88
commit
b81209c278
@ -184,6 +184,14 @@ the life-time of their registered entities.
|
||||
invoked, after all references to entities have been removed from the unit of
|
||||
work. This event is not a lifecycle callback.
|
||||
|
||||
.. warning::
|
||||
|
||||
Note that, when using ``Doctrine\ORM\AbstractQuery#iterate()``, ``postLoad``
|
||||
events will be executed immediately after objects are being hydrated, and therefore
|
||||
associations are not guaranteed to be initialized. It is not safe to combine
|
||||
usage of ``Doctrine\ORM\AbstractQuery#iterate()`` and ``postLoad`` event
|
||||
handlers.
|
||||
|
||||
.. warning::
|
||||
|
||||
Note that the postRemove event or any events triggered after an entity removal
|
||||
|
Loading…
x
Reference in New Issue
Block a user