public function Url::isAbsolute

Check if this is an absolute URL

Return value

bool

File

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

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 isAbsolute() {
  return $this->scheme && $this->host;
}