WordPress\AiClientDependencies\Psr\Http\Message
UriInterface::getUserInfo
Retrieve the user information component of the URI.
If no user information is present, this method MUST return an empty string.
If a user is present in the URI, this will return that value; additionally, if the password is also present, it will be appended to the user value, with a colon (":") separating the values.
The trailing "@" character is not part of the user information and MUST NOT be added.
Method of the class: UriInterface{}
No Hooks.
Returns
String. The URI user information, in "username[:password]" format.
Usage
$UriInterface = new UriInterface(); $UriInterface->getUserInfo(): string;
UriInterface::getUserInfo() UriInterface::getUserInfo code WP 7.0
public function getUserInfo(): string;