Class CliRouter (namespace Nette\Application)
The unidirectional router for CLI. (experimental)
Object | --CliRouter
Implements interfaces:
Public Method Summary | |
---|---|
CliRouter |
__construct
([array $defaults =
array() ])
|
NULL |
constructUrl
(PresenterRequest $appRequest, $httpRequest)
This router is only unidirectional.
|
array |
getDefaults
()
Returns default values.
|
PresenterRequest|NULL |
match
($httpRequest)
Maps command line arguments to a PresenterRequest object.
|
Methods Inherited From Object |
---|
extensionMethod(), getClass(), getReflection(), __call(), __callStatic(), __get(), __isset(), __set(), __unset() |
Constant Summary | |||
---|---|---|---|
string | PRESENTER_KEY |
'action' |
line 23 |
Method Details | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
line 33 __constructpublic CliRouter __construct ([array $defaults =
|
|||||||||||||||
line 108 constructUrlpublic NULL constructUrl (PresenterRequest $appRequest, $httpRequest) This router is only unidirectional. Implementation of:
|
|||||||||||||||
line 119 getDefaultspublic array getDefaults () Returns default values.
|
|||||||||||||||
line 45 matchpublic PresenterRequest|NULL match ($httpRequest) Maps command line arguments to a PresenterRequest object. Implementation of:
|