public function uri()
    {
        $uri = (!empty($this->url['scheme']) ? $this->url['scheme'] . '://' : Server::getInstance()->get('scheme', ''));
        $uri .= (!empty($this->url['user']) ? $this->url['user'] . ':' . $this->url['pass'] . '@' : '');
        $uri .= (!empty($this->url['host']) ? $this->url['host'] : Server::getInstance()->get('host', ''));
        $uri .= (!empty($this->url['port']) ? ':' . $this->url['port'] : '');
        $uri .= (!empty($this->url['path']) ? $this->url['path'] : '');
        $uri .= (!empty($this->url['query']) ? '?' . $this->url['query'] : '');
        $uri .= (!empty($this->url['fragment']) ? '#' . $this->url['fragment'] : '');

        return $uri;
    }
public function uri()
    {
        $uri = (!empty($this->url['scheme']) ? $this->url['scheme'] . '://' : Server::getInstance()->get('scheme', ''));
        $uri .= (!empty($this->url['user']) ? $this->url['user'] . ':' . $this->url['pass'] . '@' : '');
        $uri .= (!empty($this->url['host']) ? $this->url['host'] : Server::getInstance()->get('host', ''));
        $uri .= (!empty($this->url['port']) ? ':' . $this->url['port'] : '');
        $uri .= (!empty($this->url['path']) ? $this->url['path'] : '');
        $uri .= (!empty($this->url['query']) ? '?' . $this->url['query'] : '');
        $uri .= (!empty($this->url['fragment']) ? '#' . $this->url['fragment'] : '');

        return $uri;
    }
public function uri ( ) { $ uri = ( ! empty ( $ this -> url [ 'scheme' ] ) ? $ this -> url [ 'scheme' ] . '://' : Server :: getInstance ( ) -> get ( 'scheme' , '' ) ) ; $ uri .= ( ! empty ( $ this -> url [ 'user' ] ) ? $ this -> url [ 'user' ] . ':' . $ this -> url [ 'pass' ] . '@' : '' ) ; $ uri .= ( ! empty ( $ this -> url [ 'host' ] ) ? $ this -> url [ 'host' ] : Server :: getInstance ( ) -> get ( 'host' , '' ) ) ; $ uri .= ( ! empty ( $ this -> url [ 'port' ] ) ? ':' . $ this -> url [ 'port' ] : '' ) ; $ uri .= ( ! empty ( $ this -> url [ 'path' ] ) ? $ this -> url [ 'path' ] : '' ) ; $ uri .= ( ! empty ( $ this -> url [ 'query' ] ) ? '?' . $ this -> url [ 'query' ] : '' ) ; $ uri .= ( ! empty ( $ this -> url [ 'fragment' ] ) ? '#' . $ this -> url [ 'fragment' ] : '' ) ; return $ uri ; }
Get formatted uri.

@return string Current uri.
Get formatted uri .