Set the port part of the URL
Parameters
int $port Port to set:
Return value
Url
File
- drupal/core/vendor/guzzle/http/Guzzle/Http/Url.php, line 235
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 setPort($port) {
$this->port = $port;
return $this;
}