public function getNormalizedHttpUrl()
    {
        $parts = parse_url($this->httpUrl);

        $scheme = $parts['scheme'];
        $host = strtolower($parts['host']);
        $path = $parts['path'];

        return "$scheme://$host$path";
    }
public function getNormalizedHttpUrl()
    {
        $parts = parse_url($this->httpUrl);

        $scheme = $parts['scheme'];
        $host = strtolower($parts['host']);
        $path = $parts['path'];

        return "$scheme:
    }
public function getNormalizedHttpUrl ( ) { $ parts = parse_url ( $ this -> httpUrl ) ; $ scheme = $ parts [ 'scheme' ] ; $ host = strtolower ( $ parts [ 'host' ] ) ; $ path = $ parts [ 'path' ] ; return "$scheme://$host$path" ; }
parses the url and rebuilds it to be
scheme://host/path

@return string
parses the url and rebuilds it to be scheme : // host / path