private function isUriWithSchemeHostAndPathOnly()
    {
        return null === $this->user_info
            && null === $this->port
            && null === $this->query
            && null === $this->fragment
            && !('' != $this->scheme && null === $this->host);
    }
private function isUriWithSchemeHostAndPathOnly()
    {
        return null === $this->user_info
            && null === $this->port
            && null === $this->query
            && null === $this->fragment
            && !('' != $this->scheme && null === $this->host);
    }
private function isUriWithSchemeHostAndPathOnly ( ) { return null === $ this -> user_info && null === $ this -> port && null === $ this -> query && null === $ this -> fragment && ! ( '' != $ this -> scheme && null === $ this -> host ) ; }
URI validation for URI schemes which allows only scheme, host and path components.
URI validation for URI schemes which allows only scheme host and path components .