final class SimpleRouter extends SimpleRouter implements IRouter

The bidirectional route for trivial routing via query parameters.

Constants

private PRESENTER_KEY

private MODULE_KEY

Methods

__construct(array $defaults = [], int $flags = 0)

No description

array|null
match(IRequest $httpRequest)

Maps HTTP request to an array.

string|null
constructUrl(array $params, UrlScript $refUrl)

Constructs absolute URL from array.

int
getFlags()

Returns flags.

Details

at line 32
__construct(array $defaults = [], int $flags = 0)

No description

Parameters

array $defaults
int $flags

at line 59
array|null match(IRequest $httpRequest)

Maps HTTP request to an array.

Parameters

IRequest $httpRequest

Return Value

array|null

at line 74
string|null constructUrl(array $params, UrlScript $refUrl)

Constructs absolute URL from array.

Parameters

array $params
UrlScript $refUrl

Return Value

string|null

at line 91
int getFlags()

Returns flags.

Return Value

int