mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-1182: Add hydratorType to find(),find*(),findBy*() Entity Manager Method #1482
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (May 30, 2011).
Originally assigned to: @guilhermeblanco on GitHub.
Jira issue originally created by user benoit:
It is possible in future to precise the hydrator wanted when find() method is called ?
Something like: $em->find('My\Entity', $idEntity, \Doctrine\ORM\AbstractQuery::HYDRATE_SCALAR) ?
@doctrinebot commented on GitHub (Jan 16, 2012):
Comment created by @guilhermeblanco:
All those methods already receive other parameters like locking, order by, limit and offset.
The prototype of these method would become horrible with this change and a huge no-go in my personal opinion.
@doctrinebot commented on GitHub (Jan 16, 2012):
Issue was closed with resolution "Won't Fix"