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.
Method of the class: UriInterface{}
No Hooks.
Returns
string. The URI authority, in "[user-info@]host[:port]" format.
Usage
$UriInterface = new UriInterface(); $UriInterface->getAuthority(): string;
Notes
| See: https://tools.ietf.org/html/rfc3986#section-3.2 |
UriInterface::getAuthority() UriInterface::getAuthority code WP 7.1
public function getAuthority(): string;