src/DS/Traits/TraitSequence.php
public function merge(iterable $values): Sequence
    {
        $items = $this->items->merge($values);

        return $this->duplicate($items);
    }
public function merge(iterable $values): Sequence
    {
        $items = $this->items->merge($values);

        return $this->duplicate($items);
    }
public function merge ( iterable $ values ) : Sequence { $ items = $ this -> items -> merge ( $ values ) ; return $ this -> duplicate ( $ items ) ; }
Returns the result of adding all given values to the sequence.

@param mixed[]|\Traversable $values

@return \PlanB\DS\Sequence
Returns the result of adding all given values to the sequence .