private function baseToLowercase()
    {
        if (($host = parse_url($this->uri, PHP_URL_HOST)) === null) {
            return $this->uri;
        }
        $pos = strpos($this->uri, $host) + strlen($host);
        return $this->uri = substr_replace($this->uri, strtolower(substr($this->uri, 0, $pos)), 0, $pos);
    }
private function baseToLowercase()
    {
        if (($host = parse_url($this->uri, PHP_URL_HOST)) === null) {
            return $this->uri;
        }
        $pos = strpos($this->uri, $host) + strlen($host);
        return $this->uri = substr_replace($this->uri, strtolower(substr($this->uri, 0, $pos)), 0, $pos);
    }
private function baseToLowercase ( ) { if ( ( $ host = parse_url ( $ this -> uri , PHP_URL_HOST ) ) === null ) { return $ this -> uri ; } $ pos = strpos ( $ this -> uri , $ host ) + strlen ( $ host ) ; return $ this -> uri = substr_replace ( $ this -> uri , strtolower ( substr ( $ this -> uri , 0 , $ pos ) ) , 0 , $ pos ) ; }
Base uri to lowercase

@return string
Base uri to lowercase