public function Url::getUsername

Get the username part of the URl

Return value

null|string

File

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

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 getUsername() {
  return $this->username;
}