WordPress\AiClientDependencies\Nyholm\Psr7\Factory
HttplugFactory::createUri
Method of the class: HttplugFactory{}
No Hooks.
Returns
null. Nothing (null).
Usage
$HttplugFactory = new HttplugFactory(); $HttplugFactory->createUri( $uri ): UriInterface;
- $uri
- .
Default:''
HttplugFactory::createUri() HttplugFactory::createUri code WP 7.0.2
public function createUri($uri = ''): UriInterface
{
if ($uri instanceof UriInterface) {
return $uri;
}
return new Uri($uri);
}