src/EtherpadLite/Request.php
protected function getUrlPath(): string
    {
        $existingPath = parse_url($this->url, PHP_URL_PATH);

        return $existingPath.sprintf(
                '/api/%s/%s',
                Client::API_VERSION,
                $this->method
            );
    }
protected function getUrlPath(): string
    {
        $existingPath = parse_url($this->url, PHP_URL_PATH);

        return $existingPath.sprintf(
                '/api/%s/%s',
                Client::API_VERSION,
                $this->method
            );
    }
protected function getUrlPath ( ) : string { $ existingPath = parse_url ( $ this -> url , PHP_URL_PATH ) ; return $ existingPath . sprintf ( '/api/%s/%s' , Client :: API_VERSION , $ this -> method ) ; }
Returns the path of the request url

@return string
Returns the path of the request url