src/Encode.php
public function decode(string $toDecode): string
    {
        return (string) base64_decode(
            $this->addPadding($this->toBase64($toDecode)),
            true
        );
    }
public function decode(string $toDecode): string
    {
        return (string) base64_decode(
            $this->addPadding($this->toBase64($toDecode)),
            true
        );
    }
public function decode ( string $ toDecode ) : string { return ( string ) base64_decode ( $ this -> addPadding ( $ this -> toBase64 ( $ toDecode ) ) , true ) ; }
Decode a Base64 Url string to a json string

@param string $toDecode
@return string
Decode a Base64 Url string to a json string