DDC-3918: [GH-1519] Using EntityManagerInterface instead of EntityManager #4796

Closed
opened 2026-01-22 14:49:34 +01:00 by admin · 1 comment
Owner

Originally created by @doctrinebot on GitHub (Sep 28, 2015).

Originally assigned to: @Majkl578 on GitHub.

Jira issue originally created by user @doctrinebot:

This issue is created automatically through a Github pull request on behalf of tomaszmadeyski:

Url: https://github.com/doctrine/doctrine2/pull/1519

Message:

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.

Originally created by @doctrinebot on GitHub (Sep 28, 2015). Originally assigned to: @Majkl578 on GitHub. Jira issue originally created by user @doctrinebot: This issue is created automatically through a Github pull request on behalf of tomaszmadeyski: Url: https://github.com/doctrine/doctrine2/pull/1519 Message: 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 BugBC Break labels 2026-01-22 14:49:34 +01:00
admin closed this issue 2026-01-22 14:49:35 +01:00
Author
Owner

@Majkl578 commented on GitHub (Aug 29, 2017):

Handled in develop as part of #6599.

@Majkl578 commented on GitHub (Aug 29, 2017): Handled in develop as part of #6599.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#4796