src/Codec/EncodingList.php
public function prepend(Encoding ...$encodings): self
    {
        $copy = clone $this;
        array_unshift($copy->stack, ...$encodings);

        return $copy;
    }
public function prepend(Encoding ...$encodings): self
    {
        $copy = clone $this;
        array_unshift($copy->stack, ...$encodings);

        return $copy;
    }
public function prepend ( Encoding ... $ encodings ) : self { $ copy = clone $ this ; array_unshift ( $ copy -> stack , ... $ encodings ) ; return $ copy ; }
Return a new instance with the supplied encodings added to the beginning of the stack.

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