protected function _normalizedUrl($uri)
    {
        $out = $uri->getScheme() . '://';
        $out .= strtolower($uri->getHost());
        $out .= $uri->getPath();

        return $out;
    }
protected function _normalizedUrl($uri)
    {
        $out = $uri->getScheme() . '://';
        $out .= strtolower($uri->getHost());
        $out .= $uri->getPath();

        return $out;
    }
protected function _normalizedUrl ( $ uri ) { $ out = $ uri -> getScheme ( ) . '://' ; $ out .= strtolower ( $ uri -> getHost ( ) ) ; $ out .= $ uri -> getPath ( ) ; return $ out ; }
Builds a normalized URL

Section 9.1.2. of the Oauth spec

@param \Psr\Http\Message\UriInterface $uri Uri object to build a normalized version of.
@return string Normalized URL
Builds a normalized URL