public function push(...$elements): self
    {
        foreach ($elements as $element) {
            $this->validate($element);

            $this->elements[] = $element;
        }

        return $this;
    }
public function push(...$elements): self
    {
        foreach ($elements as $element) {
            $this->validate($element);

            $this->elements[] = $element;
        }

        return $this;
    }
public function push ( ... $ elements ) : self { foreach ( $ elements as $ element ) { $ this -> validate ( $ element ) ; $ this -> elements [ ] = $ element ; } return $ this ; }
Pushes one or more elements on to the end of the sequence.

@param $elements ...

@return Sequence
Pushes one or more elements on to the end of the sequence .