YoastSEO_Vendor\GuzzleHttp\Psr7
Uri::withPort() public Yoast 1.0
{} Это метод класса: Uri{}
Хуков нет.
Возвращает
null
. Ничего.
Использование
$Uri = new Uri(); $Uri->withPort( $port );
- $port (обязательный)
- -
Код Uri::withPort() Uri::withPort Yoast 16.1.1
public function withPort($port)
{
$port = $this->filterPort($port);
if ($this->port === $port) {
return $this;
}
$new = clone $this;
$new->port = $port;
$new->removeDefaultPort();
$new->validateState();
return $new;
}