DDC-722: EntityRepository::find(One?)By should also support Associations #5235

Closed
doctrinebot opened this Issue Jul 28, 2010 · 2 comments

2 participants

@doctrinebot

Jira issue originally created by user @guilhermeblanco:

We should allow EntityRepository to also support associations fetching (when fetched Entity is the owning side).

$employee = $em->getRepository('Employee')->findByEmployer($em->getReference('Employer', $id));
@doctrinebot

Comment created by @guilhermeblanco:

Already implemented.

@doctrinebot

Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added this to the 2.0-RC1 milestone Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment