WordPress\AiClientDependencies\Psr\Http\Message

UriFactoryInterface{}interfaceWP 1.0

No Hooks.

Usage

$UriFactoryInterface = new UriFactoryInterface();
// use class methods

Methods

  1. public createUri(string $uri = '')

UriFactoryInterface{} code WP 7.0

interface UriFactoryInterface
{
    /**
     * Create a new URI.
     *
     * @param string $uri
     *
     * @return UriInterface
     *
     * @throws \InvalidArgumentException If the given URI cannot be parsed.
     */
    public function createUri(string $uri = ''): UriInterface;
}