class UriFactory (View source)

Has the ability to create URIs for client and server requests.

Methods

UriInterface
createUri(string $uri = '')

Create a new URI.

Details

UriInterface createUri(string $uri = '')

Create a new URI.

Parameters

string $uri The URI to parse.

Return Value

UriInterface

Exceptions

InvalidArgumentException If the given URI cannot be parsed.