protected function isSyntacticallyValid(): bool
    {
        if (!parent::isSyntacticallyValid()) {
            return false;
        }

        if (!$this->parsedUri->schemeEquals(Http::SCHEME)
          && !$this->parsedUri->schemeEquals(Http::SCHEME_SSL)) {
            return false;
        }

        return true;
    }
protected function isSyntacticallyValid(): bool
    {
        if (!parent::isSyntacticallyValid()) {
            return false;
        }

        if (!$this->parsedUri->schemeEquals(Http::SCHEME)
          && !$this->parsedUri->schemeEquals(Http::SCHEME_SSL)) {
            return false;
        }

        return true;
    }
protected function isSyntacticallyValid ( ) : bool { if ( ! parent :: isSyntacticallyValid ( ) ) { return false ; } if ( ! $ this -> parsedUri -> schemeEquals ( Http :: SCHEME ) && ! $ this -> parsedUri -> schemeEquals ( Http :: SCHEME_SSL ) ) { return false ; } return true ; }
Checks whether URI is a correct URI.

@return  bool
Checks whether URI is a correct URI .