public function Url::setPassword

Set the password part of the URL

Parameters

string $password Password to set:

Return value

Url

File

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

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 setPassword($password) {
  $this->password = $password;
  return $this;
}