WordPress\AiClientDependencies\Psr\Http\Message

RequestInterface::getUripublicWP 1.0

Retrieves the URI instance.

This method MUST return a UriInterface instance.

Method of the class: RequestInterface{}

No Hooks.

Returns

UriInterface. Returns a UriInterface instance

representing the URI of the request.

Usage

$RequestInterface = new RequestInterface();
$RequestInterface->getUri(): UriInterface;

RequestInterface::getUri() code WP 7.0

public function getUri(): UriInterface;