public function bindParameters(\PDOStatement $statement)
    {
        foreach (array_keys($this->params) as $key)
        {
            $type = $this->param_types[$key];
            $statement->bindParam($key, $this->params[$key], $type);
        }
        return $this;
    }
public function bindParameters(\PDOStatement $statement)
    {
        foreach (array_keys($this->params) as $key)
        {
            $type = $this->param_types[$key];
            $statement->bindParam($key, $this->params[$key], $type);
        }
        return $this;
    }
public function bindParameters ( \ PDOStatement $ statement ) { foreach ( array_keys ( $ this -> params ) as $ key ) { $ type = $ this -> param_types [ $ key ] ; $ statement -> bindParam ( $ key , $ this -> params [ $ key ] , $ type ) ; } return $ this ; }
Bind the paramters to a PDOStatement
@param PDOStatement $statement The statement to bind to
@return $this Provides fluent interface
Bind the paramters to a PDOStatement