Ergo\Http\RequestFactory::_uriRelativeToHost PHP Method

_uriRelativeToHost() private method

The path of the URI, which may or may not already be path-only.
private _uriRelativeToHost ( string $uri ) : string
$uri string
return string
    private function _uriRelativeToHost($uri)
    {
        $uri = new Url($uri);
        return $uri->getHostRelativeUrl();
    }