DDC-3385: [GH-1181] Support fetching entities by aliased name #4181

Closed
opened 2026-01-22 14:36:48 +01:00 by admin · 3 comments
Owner

Originally created by @doctrinebot on GitHub (Nov 11, 2014).

Originally assigned to: @deeky666 on GitHub.

Jira issue originally created by user @doctrinebot:

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

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

Message:

See #385 (this PR supersedes it)

The final aim is allowing something like:

$user = $em->find(UserInterface::class, 123);

This PR depends also on doctrine/common#342

Originally created by @doctrinebot on GitHub (Nov 11, 2014). Originally assigned to: @deeky666 on GitHub. Jira issue originally created by user @doctrinebot: This issue is created automatically through a Github pull request on behalf of Ocramius: Url: https://github.com/doctrine/doctrine2/pull/1181 Message: See #385 (this PR supersedes it) The final aim is allowing something like: ``` php $user = $em->find(UserInterface::class, 123); ``` This PR depends also on doctrine/common#342
admin added the New Feature label 2026-01-22 14:36:48 +01:00
admin closed this issue 2026-01-22 14:36:48 +01:00
Author
Owner
@doctrinebot commented on GitHub (Nov 11, 2014): - depends on [DCOM-257: [GH-342] Class metadata loading fallback hook in AbstractClassMetadataFactory](http://www.doctrine-project.org/jira/browse/DCOM-257) - is referenced by [DDC-3300: [GH-1130] [WIP] Added resolve entities support in discrim. map](http://www.doctrine-project.org/jira/browse/DDC-3300)
Author
Owner

@doctrinebot commented on GitHub (Jan 14, 2015):

Comment created by @doctrinebot:

A related Github Pull-Request [GH-1181] was merged:
https://github.com/doctrine/doctrine2/pull/1181

@doctrinebot commented on GitHub (Jan 14, 2015): Comment created by @doctrinebot: A related Github Pull-Request [GH-1181] was merged: https://github.com/doctrine/doctrine2/pull/1181
Author
Owner

@doctrinebot commented on GitHub (Jan 14, 2015):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Jan 14, 2015): Issue was closed with resolution "Fixed"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#4181