final class ServerRequestFactory implements ServerRequestFactoryInterface (View source)

Methods

__construct(ServerRequestFactoryInterface $serverRequestFactory)

No description

createServerRequest(string $method, $uri, array $serverParams = [])

{@inheritDoc}

create()

No description

fromGlobals()

No description

Details

__construct(ServerRequestFactoryInterface $serverRequestFactory)

No description

Parameters

ServerRequestFactoryInterface $serverRequestFactory

ServerRequest createServerRequest(string $method, $uri, array $serverParams = [])

{@inheritDoc}

Parameters

string $method
$uri
array $serverParams

Return Value

ServerRequest

static ServerRequestFactory create()

No description

Return Value

ServerRequestFactory

Exceptions

RuntimeException

ServerRequest fromGlobals()

No description

Return Value

ServerRequest