CliRouter
final class CliRouter implements IRouter
The unidirectional router for CLI. (experimental)
Constants
private PRESENTER_KEY |
|
Methods
__construct(array $defaults = [])
No description
string|null
array
getDefaults()
Returns default values.
Details
at line 29
__construct(array $defaults = [])
No description
at line 38
array|null
match(IRequest $httpRequest)
Maps command line arguments to an array.
at line 96
string|null
constructUrl(array $params, UrlScript $refUrl)
This router is only unidirectional.
at line 105
array
getDefaults()
Returns default values.
Traits
Strict class for better experience.