# Class HttpSoft\Message\UriFactory
Factory for creating HttpSoft\Message\Uri, implements Psr\Http\Message\UriFactoryInterface.
use HttpSoft\Message\UriFactory;
$uriFactory = new UriFactory();
$uri = $uriFactory->createUri('https://example.com');
$uri->getScheme(); // 'https'
$uri->getHost(); // 'example.com'
(string) $uri; // 'https://example.com'
# Public methods
Оригинальное подробное описание методов смотрите в Psr\Http\Message\UriFactoryInterface.
# createUri
Create a new HttpSoft\Message\Uri instance.
public function createUri(string $uri = ''): Uri;