src/Connection.php
protected function bindValues(\PDOStatement $statement, array $values)
    {
        $number = 1;

        foreach ($values as $name => $value) {
            $this->bindValue($statement, is_string($name) ? $name : $number, $value);
            $number += 1;
        }
    }
protected function bindValues(\PDOStatement $statement, array $values)
    {
        $number = 1;

        foreach ($values as $name => $value) {
            $this->bindValue($statement, is_string($name) ? $name : $number, $value);
            $number += 1;
        }
    }
protected function bindValues ( \ PDOStatement $ statement , array $ values ) { $ number = 1 ; foreach ( $ values as $ name => $ value ) { $ this -> bindValue ( $ statement , is_string ( $ name ) ? $ name : $ number , $ value ) ; $ number += 1 ; } }
Binds parameters to a PDO statement.

@param \PDOStatement $statement PDO statement
@param array $values Parameters. The indexes are the names or numbers of the values.
@throws InvalidArgumentException
@throws BasePDOException
Binds parameters to a PDO statement .