SimpleRouter
class SimpleRouter implements Router
The bidirectional route for trivial routing via query parameters.
Methods
__construct(array $defaults = [])
No description
string|null
array
getDefaults()
Returns default values.
Details
at line 26
__construct(array $defaults = [])
No description
at line 35
array|null
match(IRequest $httpRequest)
Maps HTTP request to an array.
at line 46
string|null
constructUrl(array $params, UrlScript $refUrl)
Constructs absolute URL from array.
at line 68
array
getDefaults()
Returns default values.
Traits
Strict class for better experience.