Class CliRouter
The unidirectional router for CLI. (experimental)
-
Object
-
CliRouter
implements
IRouter
Methods summary
public
|
#
__construct( array $defaults = array() )
Parameters
- $defaults
array default values
|
public
PresenterRequest |null
|
#
match( IHttpRequest $httpRequest )
Maps command line arguments to a Request object.
Maps command line arguments to a Request object.
Returns
Implementation of
|
public
null
|
#
constructUrl( PresenterRequest $appRequest, Url $refUrl )
This router is only unidirectional.
This router is only unidirectional.
Returns
null
Implementation of
|
public
array
|
|
Magic properties summary
public read-only
array
|
$defaults
|
|