public function fromBase64URL($data)
    {
        if ($remainder = strlen($data) % 4) {
            $data .= str_repeat('=', 4 - $remainder);
        }

        return base64_decode(strtr($data, '-_', '+/'));
    }
public function fromBase64URL($data)
    {
        if ($remainder = strlen($data) % 4) {
            $data .= str_repeat('=', 4 - $remainder);
        }

        return base64_decode(strtr($data, '-_', '+/'));
    }
public function fromBase64URL ( $ data ) { if ( $ remainder = strlen ( $ data ) % 4 ) { $ data .= str_repeat ( '=' , 4 - $ remainder ) ; } return base64_decode ( strtr ( $ data , '-_' , '+/' ) ) ; }
Deserializes from base64url

@param string $data
@return string
Deserializes from base64url