Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
lithium
console
Router
PHP Class lithium\console\Router
Inheritance:
extends
lithium\core\Object
Mostrar archivo
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