[PR #9877] Deprecate getEntityManager and getEntity from PreUpdateEventArgs #11948

Closed
opened 2026-01-22 16:12:26 +01:00 by admin · 0 comments
Owner

Original Pull Request: https://github.com/doctrine/orm/pull/9877

State: closed
Merged: No


Ref: https://github.com/doctrine/orm/issues/9875

In 3.0, PreUpdateEventArgs will extend PreUpdateEventArgs from doctrine/persistence instead of Doctrine\ORM\Event\LifecycleEventArgs and those methods won't be available anymore.

This will ease the upgrade to 3.0

**Original Pull Request:** https://github.com/doctrine/orm/pull/9877 **State:** closed **Merged:** No --- Ref: https://github.com/doctrine/orm/issues/9875 In 3.0, PreUpdateEventArgs will extend PreUpdateEventArgs from `doctrine/persistence` instead of `Doctrine\ORM\Event\LifecycleEventArgs` and those methods won't be available anymore. This will ease the upgrade to 3.0
admin added the pull-request label 2026-01-22 16:12:26 +01:00
admin closed this issue 2026-01-22 16:12:26 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#11948