final class UriFactory implements UriFactoryInterface (View source)

Methods

__construct(UriFactoryInterface $uriFactory)

No description

UriInterface
createUri(string $uri = '')

No description

static UriFactory
create()

No description

UriInterface
fromGlobals(array $server)

Create new Uri from environment.

Details

__construct(UriFactoryInterface $uriFactory)

No description

Parameters

UriFactoryInterface $uriFactory

UriInterface createUri(string $uri = '')

No description

Parameters

string $uri

Return Value

UriInterface

static UriFactory create()

No description

Return Value

UriFactory

Exceptions

RuntimeException

UriInterface fromGlobals(array $server)

Create new Uri from environment.

Initially based on the \Slim\Psr7\Factory\UriFactory::createFromGlobals() implementation.

Parameters

array $server

Return Value

UriInterface