DmitryDulepov\Realurl\Decoder\UrlDecoder::getUrlPath PHP Метод

getUrlPath() защищенный Метод

Parses the URL and validates the result. This function will strip possible query string from speaking URL (we only need to decode the speaking URL!)
protected getUrlPath ( ) : array
Результат array
    protected function getUrlPath()
    {
        $urlPath = @parse_url('/' . ltrim($this->speakingUri, '/'), PHP_URL_PATH);
        if (!is_string($urlPath)) {
            $this->throw404('Current URL is invalid');
        }
        return ltrim($urlPath, '/');
    }