mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-3535: Allow binding Parameter value object to statements, removing the need for explicit value and type passing
#4348
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 (Jan 24, 2015).
Originally assigned to: @Ocramius on GitHub.
Jira issue originally created by user @ocramius:
@doctrinebot commented on GitHub (Jan 24, 2015):
Comment created by @ocramius:
We currently have a lot of locations in the code where we use
list($values, $types) = $this->computeParameters();(pseudo-code).This leads to a lot of code duplication and complexity.
Maybe a
ParameterVO may be used instead, or aParameterCollectionwith a fixed$typesand a mutable$values, and with minimal internal validation.