src/Db/Command.php
public function bindValues($values)
    {
        if (empty($values)) {
            return $this;
        }

        foreach ($values as $name => $value) {
            $this->params[$name] = $value;
        }

        return $this;
    }
public function bindValues($values)
    {
        if (empty($values)) {
            return $this;
        }

        foreach ($values as $name => $value) {
            $this->params[$name] = $value;
        }

        return $this;
    }
Binds a list of values to the corresponding parameters.
This is similar to [[bindValue()]] except that it binds multiple values at a time.
Note that the SQL data type of each value is determined by its PHP type.
@param array $values the values to be bound. This must be given in terms of an associative
array with array keys being the parameter names, and array values the corresponding parameter values,
e.g. `[':name' => 'John', ':age' => 25]`.
@return $this the current command being executed