public function getBaseUri()
    {
        if ('' !== $qs = $this->getQueryString()) {
            $qs = '?' . $qs;
        }

        return $this->getSchemeAndHost() . $this->getRequestUri() . $qs;
    }
public function getBaseUri()
    {
        if ('' !== $qs = $this->getQueryString()) {
            $qs = '?' . $qs;
        }

        return $this->getSchemeAndHost() . $this->getRequestUri() . $qs;
    }
public function getBaseUri ( ) { if ( '' !== $ qs = $ this -> getQueryString ( ) ) { $ qs = '?' . $ qs ; } return $ this -> getSchemeAndHost ( ) . $ this -> getRequestUri ( ) . $ qs ; }
find the scheme and request uri

@return string
find the scheme and request uri