src/Request/Request.php
private function getCompleteUrl($uri = '')
    {
        $uri = $uri === '' ? $this->urlResolver->getPath() : $uri;
        $url = sprintf('%s%s', $this->urlResolver->getDomain(), $uri);

        if ($this->isGet() && $this->GET) {
            $url = sprintf('%s?%s', $url, http_build_query($this->GET->getAll()));
        }

        return $url;
    }
private function getCompleteUrl($uri = '')
    {
        $uri = $uri === '' ? $this->urlResolver->getPath() : $uri;
        $url = sprintf('%s%s', $this->urlResolver->getDomain(), $uri);

        if ($this->isGet() && $this->GET) {
            $url = sprintf('%s?%s', $url, http_build_query($this->GET->getAll()));
        }

        return $url;
    }
private function getCompleteUrl ( $ uri = '' ) { $ uri = $ uri === '' ? $ this -> urlResolver -> getPath ( ) : $ uri ; $ url = sprintf ( '%s%s' , $ this -> urlResolver -> getDomain ( ) , $ uri ) ; if ( $ this -> isGet ( ) && $ this -> GET ) { $ url = sprintf ( '%s?%s' , $ url , http_build_query ( $ this -> GET -> getAll ( ) ) ) ; } return $ url ; }
Get the full url address for the request

@param string $uri
@return string
Get the full url address for the request