SimpleRouter
class SimpleRouter implements Router
The bidirectional route for trivial routing via query parameters.
Methods
__construct(array $defaults = [])
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.
array
getDefaults()
Returns default values.
Details
at line 23
__construct(array $defaults = [])
No description
at line 32
array|null
match(IRequest $httpRequest)
Maps HTTP request to an array.
at line 43
string|null
constructUrl(array $params, UrlScript $refUrl)
Constructs absolute URL from array.
at line 66
array
getDefaults()
Returns default values.