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

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

        return $copy;
    }
Return a new instance with the supplied decodings added to the end of the stack.

@param Decoding ...$decodings
@return DecodingList