src/Http/Request.php
public function url()
    {
        $scheme = $this->scheme();
        $scheme = $scheme ? $scheme . '://' : '//';
        $query = $this->query() ? '?' . http_build_query($this->query()) : '';
        $fragment = $this->fragment() ? '#' . $this->fragment() : '';
        return $scheme . $this->host() . $this->path() . $query . $fragment;
    }
public function url()
    {
        $scheme = $this->scheme();
        $scheme = $scheme ? $scheme . '://' : '//';
        $query = $this->query() ? '?' . http_build_query($this->query()) : '';
        $fragment = $this->fragment() ? '#' . $this->fragment() : '';
        return $scheme . $this->host() . $this->path() . $query . $fragment;
    }
public function url ( ) { $ scheme = $ this -> scheme ( ) ; $ scheme = $ scheme ? $ scheme . '://' : '//' ; $ query = $ this -> query ( ) ? '?' . http_build_query ( $ this -> query ( ) ) : '' ; $ fragment = $ this -> fragment ( ) ? '#' . $ this -> fragment ( ) : '' ; return $ scheme . $ this -> host ( ) . $ this -> path ( ) . $ query . $ fragment ; }
Returns the message URI.

@return string
Returns the message URI .