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

Closed
doctrinebot opened this Issue Jan 9, 2014 · 5 comments

2 participants

@doctrinebot

Jira issue originally created by user darkangel:

E.g.:

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

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

@doctrinebot

Comment created by flip101:

(y)

@doctrinebot

Comment created by @ocramius:

Duplicate of DDC-2694

@doctrinebot

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