CliRouter
final class CliRouter implements Router
The unidirectional router for CLI. (experimental)
Constants
private PresenterKey |
|
Methods
__construct(array $defaults = [])
No description
array|null
match(IRequest $httpRequest)
Maps command line arguments to an array.
string|null
constructUrl(array $params, UrlScript $refUrl)
This router is only unidirectional.
array
getDefaults()
Returns default values.
Details
at line 25
__construct(array $defaults = [])
No description
at line 34
array|null
match(IRequest $httpRequest)
Maps command line arguments to an array.
at line 95
string|null
constructUrl(array $params, UrlScript $refUrl)
This router is only unidirectional.
at line 104
array
getDefaults()
Returns default values.