DDC-129: Enable Chaining of ORM\AbstractQuery::setParameter() #162

Open
opened 2026-01-22 12:29:02 +01:00 by admin · 0 comments
Owner

Originally created by @doctrinebot on GitHub (Nov 7, 2009).

Jira issue originally created by user mcurcio:

To make better use of the getSingleResult() and similar convenience methods, it would be beneficial for setParameter() to return $this, so that it could be included in a Query chain. Likewise, it might be useful to be able to pass parameters to said convenience methods.

Originally created by @doctrinebot on GitHub (Nov 7, 2009). Jira issue originally created by user mcurcio: To make better use of the getSingleResult() and similar convenience methods, it would be beneficial for setParameter() to return $this, so that it could be included in a Query chain. Likewise, it might be useful to be able to pass parameters to said convenience methods.
admin added the Improvement label 2026-01-22 12:29:02 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#162