public function Url::__toString

Returns the URL as a URL string

Return value

string

File

drupal/core/vendor/guzzle/http/Guzzle/Http/Url.php, line 149

Class

Url
Parses and generates URLs based on URL parts. In favor of performance, URL parts are not validated.

Namespace

Guzzle\Http

Code

public function __toString() {
  return self::buildUrl($this
    ->getParts());
}