public function generateManyNamed($values, $type = 'string')
    {
        $placeholders = [];
        foreach ($values as $k => $value) {
            $param = $this->placeholder('c');
            $this->_bindings[$param] = [
                'value' => $value,
                'type' => $type,
                'placeholder' => substr($param, 1),
            ];
            $placeholders[$k] = $param;
        }

        return $placeholders;
    }
public function generateManyNamed($values, $type = 'string')
    {
        $placeholders = [];
        foreach ($values as $k => $value) {
            $param = $this->placeholder('c');
            $this->_bindings[$param] = [
                'value' => $value,
                'type' => $type,
                'placeholder' => substr($param, 1),
            ];
            $placeholders[$k] = $param;
        }

        return $placeholders;
    }
public function generateManyNamed ( $ values , $ type = 'string' ) { $ placeholders = [ ] ; foreach ( $ values as $ k => $ value ) { $ param = $ this -> placeholder ( 'c' ) ; $ this -> _bindings [ $ param ] = [ 'value' => $ value , 'type' => $ type , 'placeholder' => substr ( $ param , 1 ) , ] ; $ placeholders [ $ k ] = $ param ; } return $ placeholders ; }
Creates unique named placeholders for each of the passed values
and binds them with the specified type.

@param array|\Traversable $values The list of values to be bound
@param string $type The type with which all values will be bound
@return array with the placeholders to insert in the query
Creates unique named placeholders for each of the passed values and binds them with the specified type .