Drop EntityManagerAware behavior from default ORM behaviors #5712

Open
opened 2026-01-22 15:15:19 +01:00 by admin · 1 comment
Owner

Originally created by @Ocramius on GitHub (Sep 23, 2017).

Since ORM 2.5, we have safe postLoad semantics for entity listeners that add further information to loaded entities. Because of that, the EntityManagerAware details within the UnitOfWork should probably be delegated to userland, and the interface should be dropped from ORM core.

Originally created by @Ocramius on GitHub (Sep 23, 2017). Since ORM 2.5, we have safe `postLoad` semantics for entity listeners that add further information to loaded entities. Because of that, the `EntityManagerAware` details within the `UnitOfWork` should probably be delegated to userland, and the interface should be dropped from ORM core.
admin added the ImprovementBC Break labels 2026-01-22 15:15:19 +01:00
Author
Owner

@Ocramius commented on GitHub (Sep 23, 2017):

Note: migration guide should accompany an implementation patch.

@Ocramius commented on GitHub (Sep 23, 2017): Note: migration guide should accompany an implementation patch.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#5712