src/DS/Traits/TraitSequence.php
public function pushAll(iterable $values): Sequence
    {
        foreach ($values as $value) {
            $this[] = $value;
        }

        return $this;
    }
public function pushAll(iterable $values): Sequence
    {
        foreach ($values as $value) {
            $this[] = $value;
        }

        return $this;
    }
public function pushAll ( iterable $ values ) : Sequence { foreach ( $ values as $ value ) { $ this [ ] = $ value ; } return $ this ; }
Pushes all values of either an array or traversable object.

@param mixed[] $values

@return \PlanB\DS\Sequence
Pushes all values of either an array or traversable object .