[PR #1041] Allow all EntityManagerInterface implementations #9077

Open
opened 2026-01-22 16:03:06 +01:00 by admin · 0 comments
Owner

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

State: closed
Merged: Yes


Doctrine\ORM\Tools\Event\GenerateSchemaEventArgs requires that the supplied entity manager is an EntityManager instance.

In order to support Doctrine\ORM\Decorator\EntityManagerDecorator, it should allow all EntityManagerInterface implementations.

**Original Pull Request:** https://github.com/doctrine/orm/pull/1041 **State:** closed **Merged:** Yes --- Doctrine\ORM\Tools\Event\GenerateSchemaEventArgs requires that the supplied entity manager is an EntityManager instance. In order to support Doctrine\ORM\Decorator\EntityManagerDecorator, it should allow all EntityManagerInterface implementations.
admin added the pull-request label 2026-01-22 16:03:06 +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#9077