DDC-2899: Allow the NEW operator to construct objects containing entities #3656

doctrinebot opened this Issue Jan 9, 2014 · 5 comments

2 participants


Jira issue originally created by user darkangel:


SELECT NEW CustomerDTO(c, SUM(o.value)) FROM Customer c JOIN c.orders o GROUP BY c

public function **construct(Customer $c, $sum) { ... }


Comment created by flip101:



Comment created by @ocramius:

Duplicate of DDC-2694


Issue was closed with resolution "Duplicate"

@Ocramius Ocramius was assigned by doctrinebot 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