Свойство | Type | Description | |
---|---|---|---|
$_argumentArray | array | array of parsed arguments | |
$_optionArray | array | array of parsed options | |
$_request | object | instance of the request class |
Méthode | Description | |
---|---|---|
__construct ( |
constructor of the class | |
getArgument ( string $key = null ) : mixed | get item from arguments | |
getOption ( string $key = null ) : mixed | get item from options | |
init ( string $mode = null ) | init the class | |
setArgument ( string $key = null, mixed $value = null ) | set item to arguments | |
setOption ( string $key = null, mixed $value = null ) | set item to options |
Méthode | Description | |
---|---|---|
_parseArgument ( array $argumentArray = [] ) | parse raw argument | |
_parseOption ( string $option = null, string $next = null, integer $offset = null ) : boolean | parse raw option |
public __construct ( |
||
$request | instance of the request class |
protected _parseArgument ( array $argumentArray = [] ) | ||
$argumentArray | array | raw argument to be parsed |
public getArgument ( string $key = null ) : mixed | ||
$key | string | key of the item |
Résultat | mixed |
public setArgument ( string $key = null, mixed $value = null ) | ||
$key | string | key of the item |
$value | mixed | value of the item |
protected array $_argumentArray | ||
Résultat | array |
protected array $_optionArray | ||
Résultat | array |
protected object $_request | ||
Résultat | object |