PHP Class lithium\console\Router

Inheritance: extends lithium\core\Object
Afficher le fichier Open project: unionofrad/lithium Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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
Résultat array $params