Skip to content

Loading…

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

Closed
doctrinebot opened this Issue · 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
@doctrinebot doctrinebot closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.