Adds zero or more values to the front of the sequence.

@param mixed ...$values

@return \PlanB\DS\Sequence
199598
public function unshift(...$values): Sequence
    {
        $this->resolver->values(function (\DS\Map $values): void {
            $this->items->unshift(...$values->values());
        }, $values);

        return $this;
    }
1216399
public function bulkUpdate($values)
    {
        foreach ($values as $property => $value) {
            $this->update($property, $value);
        }
        
        return $this;
    }
460105
public function values($values) {
		if (is_array($values))
			$this->value = $values;
		else
			$this->valueList = func_get_args();
		return $this;
	}
1297848
private function setValues($values)
    {
        $values = $this->checkContent($values);

        if ($this->isSingleValued()) {
            return $this->addValue($values[0], true);
        }

        return $this->addManyValues($values);
    }
661985
protected function addUpdatedAtColumn(array $values)
    {
        if (!$this->model->usesTimestamps()) {
            return $values;
        }

        return Arr::add(
            $values,
            $this->model->getUpdatedAtColumn(),
            $this->model->freshTimestampString()
        );
    }
456736
public function append(iterable $values): self
    {
        foreach ($values as $value) {
            $this->add($value);
        }

        return $this;
    }
714999
protected function addValues($values)
    {
        if (!is_array($values) && !$values instanceof \Traversable) {
            //Unable to process values
            return;
        }

        foreach ($values as $value) {
            //Passing every value thought the filter
            $value = $this->filterValue($value);
            if (!is_null($value)) {
                $this->values[] = $value;
            }
        }
    }
213847
public function addValues(array $values)
    {
        $valueReferences = [];

        foreach ($values as $value) {
            $valueReferences[] = $this->getReferences()->createReference($value);
        }

        $this->values[] = $valueReferences;

        return $this;
    }
397910
public function fill(array $values)
	{
		foreach ($values as $key => $value)
		{
			callback($this, 'fill' . ucfirst($key))->invoke($value);
		}
		return $this;
	}
206442
public function set(array $values)
    {
        foreach ($values as $column => &$value) {
            $value = [
                'alias'  => self::cutAlias($column),
                'column' => $column,
                'value'  => $value,
            ];
        }

        $this->values = $this->values === null ? $values : array_replace($this->values, $values);

        return $this;
    }
1084210
public function append($values)
    {
        return $this->constructScopedSelf(
                $this->scheme->appendIterator(
                        $this->elements,
                        $this->scheme->toIterator($values)
                )
        );
    }
490347
public function removeValues(array $values = [])
    {
        $this->assertCanHaveMultipleValues();

        foreach ($values as $value) {
            $this->removeValue($value);
        }

        return $this;
    }
569670
public static function createFromArray(array $values)
    {
        $collection = new self();

        foreach ($values as $key => $value) {
            $collection->set($key, $value);
        }

        return $collection;
    }
298657
public function setValues(array $values)
    {
        $this->getValidator()->validateRequired($values, $this->required);
        $this->values = array_merge($this->values, $values);
        
        return $this;
    }
1057192
public function pushAll(array $values): self
    {
        foreach ($values as $value) {
            $this->push($value);
        }

        return $this;
    }
763102
public function add(...$values)
    {
        foreach ($values as $value) {
            $this->table->put($value, null);
        }
    }
343326
public function bindValues($values)
    {
        foreach($values as $k => $v)
        {
            $this->binds[$k] = $v;
        }
        return $this;
    }