protected function bindValues($name, $type, $values)
    {
        if (!is_array($values)) {
            return $this->builder->createNamedParameter($values, $type);
        }

        foreach ($values as $key => $value) {
            $values[$key] = $this->bindValues($name, $type, $value);
        }

        return $values;
    }
protected function bindValues($name, $type, $values)
    {
        if (!is_array($values)) {
            return $this->builder->createNamedParameter($values, $type);
        }

        foreach ($values as $key => $value) {
            $values[$key] = $this->bindValues($name, $type, $value);
        }

        return $values;
    }
protected function bindValues ( $ name , $ type , $ values ) { if ( ! is_array ( $ values ) ) { return $ this -> builder -> createNamedParameter ( $ values , $ type ) ; } foreach ( $ values as $ key => $ value ) { $ values [ $ key ] = $ this -> bindValues ( $ name , $ type , $ value ) ; } return $ values ; }
Binds condition value to key

@param string $name
@param string $type
@param mixed  $values

@return string
Binds condition value to key