public function merge(DecodingList $decodings): self
    {
        $copy = new self();
        $copy->stack = collect($this->stack)->merge($decodings->stack)->all();

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

        return $copy;
    }
public function merge ( DecodingList $ decodings ) : self { $ copy = new self ( ) ; $ copy -> stack = collect ( $ this -> stack ) -> merge ( $ decodings -> stack ) -> all ( ) ; return $ copy ; }
Return a new instance with the supplied decodings merged.

@param DecodingList $decodings
@return DecodingList
Return a new instance with the supplied decodings merged .