Doctrine\ORM\AbstractQuery::setParameter
Sets a query parameter.
Signature
public function setParameter(string|integer
$key,
[mixed
$value = null,
[string
$type = null]] )
Parameters
$key
— object- The parameter position or name.
$value
— mixed- The parameter value.
$type
— string- The parameter type. If specified, the given value will be run through
the type conversion of this type. This is usually not needed for
strings and numeric types.
Returns
- AbstractQuery
- This query instance.