src/Codec/EncodingList.php
public function push(Encoding ...$encodings): self
    {
        $copy = new self();
        $copy->stack = collect($this->stack)->merge($encodings)->all();

        return $copy;
    }
public function push(Encoding ...$encodings): self
    {
        $copy = new self();
        $copy->stack = collect($this->stack)->merge($encodings)->all();

        return $copy;
    }
public function push ( Encoding ... $ encodings ) : self { $ copy = new self ( ) ; $ copy -> stack = collect ( $ this -> stack ) -> merge ( $ encodings ) -> all ( ) ; return $ copy ; }
Return a new instance with the supplied encodings added to the end of the stack.

@param Encoding ...$encodings
@return EncodingList
Return a new instance with the supplied encodings added to the end of the stack .