lib/Doctrine/ORM/Query/Parameter.php
public function setValue($value, $type = null)
    {
        $this->value = $value;
        $this->type  = $type ?: ParameterTypeInferer::inferType($value);
    }
public function setValue($value, $type = null)
    {
        $this->value = $value;
        $this->type  = $type ?: ParameterTypeInferer::inferType($value);
    }
public function setValue ( $ value , $ type = null ) { $ this -> value = $ value ; $ this -> type = $ type ? : ParameterTypeInferer :: inferType ( $ value ) ; }
Defines the Parameter value.

@param mixed $value Parameter value.
@param mixed $type  Parameter type.
Defines the Parameter value .