YoastSEO_Vendor\GuzzleHttp\Psr7
Uri::isNetworkPathReference() public Yoast 1.0
Whether the URI is a network-path reference.
A relative reference that begins with two slash characters is termed an network-path reference.
{} Это метод класса: Uri{}
Хуков нет.
Возвращает
true/false.
Использование
$result = Uri::isNetworkPathReference( \YoastSEO_Vendor\Psr\Http\Message\UriInterface $uri );
- $uri(Uriчислоerface) (обязательный)
Код Uri::isNetworkPathReference() Uri::isNetworkPathReference Yoast 15.6.2
public static function isNetworkPathReference(\YoastSEO_Vendor\Psr\Http\Message\UriInterface $uri)
{
return $uri->getScheme() === '' && $uri->getAuthority() !== '';
}