lib/Doctrine/DBAL/Statement.php
public function bindParam($name, &$var, $type = ParameterType::STRING, $length = null)
    {
        $this->params[$name] = $var;
        $this->types[$name]  = $type;

        return $this->stmt->bindParam($name, $var, $type, $length);
    }
public function bindParam($name, &$var, $type = ParameterType::STRING, $length = null)
    {
        $this->params[$name] = $var;
        $this->types[$name]  = $type;

        return $this->stmt->bindParam($name, $var, $type, $length);
    }
public function bindParam ( $ name , & $ var , $ type = ParameterType :: STRING , $ length = null ) { $ this -> params [ $ name ] = $ var ; $ this -> types [ $ name ] = $ type ; return $ this -> stmt -> bindParam ( $ name , $ var , $ type , $ length ) ; }
Binds a parameter to a value by reference.

Binding a parameter by reference does not support DBAL mapping types.

@param string|int $name   The name or position of the parameter.
@param mixed      $var    The reference to the variable to bind.
@param int        $type   The PDO binding type.
@param int|null   $length Must be specified when using an OUT bind
so that PHP allocates enough memory to hold the returned value.

@return bool TRUE on success, FALSE on failure.
Binds a parameter to a value by reference .