WordPress\AiClientDependencies\Psr\Http\Message
UriInterface::getAuthority
Retrieve the authority component of the URI.
If no authority information is present, this method MUST return an empty string.
The authority syntax of the URI is:
[user-info@]host[:port]
If the port component is not set or is the standard port for the current scheme, it SHOULD NOT be included.
Метод класса: UriInterface{}
Хуков нет.
Возвращает
Строку. The URI authority, in "[user-info@]host[:port]" format.
Использование
$UriInterface = new UriInterface(); $UriInterface->getAuthority(): string;
Заметки
Код UriInterface::getAuthority() UriInterface::getAuthority WP 7.0.4
public function getAuthority(): string;