[PR #1519] Using EntityManagerInterface instead of EntityManager #9577

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

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

State: closed
Merged: No


In current solution when generate method of Doctrine\ORM\Id\AbstractIdGenerator has EntityManager type hint you are not able to use entity manager decorated with EntityManagerDecorator. Simply changing solid implementation to interface makes this possible.

**Original Pull Request:** https://github.com/doctrine/orm/pull/1519 **State:** closed **Merged:** No --- In current solution when `generate` method of `Doctrine\ORM\Id\AbstractIdGenerator` has `EntityManager` type hint you are not able to use entity manager decorated with `EntityManagerDecorator`. Simply changing solid implementation to interface makes this possible.
admin added the pull-request label 2026-01-22 16:04:45 +01:00
admin closed this issue 2026-01-22 16:04:45 +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#9577