Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
lithium
console
Router
PHP Class lithium\console\Router
Inheritance:
extends
lithium\core\Object
Datei anzeigen
Open project: unionofrad/lithium
Class Usage Examples
Public Methods
Method
Description
parse
(
Request
$request
= null ) :
array
Parse incoming request from console. Short and long (GNU-style) options in the form of
-f
,
--foo
,
--foo-bar
and
--foo=bar
are parsed.
Method Details
parse()
public
static
method
XF68-style long options (i.e.
-foo
) are not supported but support can be added by extending this class.
public
static
parse
(
Request
$request
= null ) :
array
$request
Request
return
array
$params