YoastSEO_Vendor\GuzzleHttp\Psr7
Uri::filterHost() private Yoast 1.0
{} Это метод класса: Uri{}
Хуков нет.
Возвращает
Строку
. Ничего.
Использование
// private - только в коде основоного (родительского) класса $result = $this->filterHost( $host );
- $host(строка) (обязательный)
- -
Код Uri::filterHost() Uri::filterHost Yoast 16.1.1
private function filterHost($host)
{
if (!\is_string($host)) {
throw new \InvalidArgumentException('Host must be a string');
}
return \strtolower($host);
}