Property | Type | Description | |
---|---|---|---|
$longOptions | |||
$shortOptions | |||
$specs |
Method | Description | |
---|---|---|
__construct ( OptionCollection $specs ) | ||
parse ( array $argv ) : OptionResult | Option[] | ||
setSpecs ( OptionCollection $specs ) |
Method | Description | |
---|---|---|
consumeOptionToken ( Option $spec, $arg, $next, &$success = false ) : boolean | consume option value from current argument or from the next argument | |
preprocessingArguments ( array $argv ) | preprocess the argv array | |
pushOptionValue ( Option $spec, $arg, $next ) | * push value to multipl value option |
protected consumeOptionToken ( Option $spec, $arg, $next, &$success = false ) : boolean | ||
$spec | Option | |
return | boolean | next token consumed? |
protected preprocessingArguments ( array $argv ) | ||
$argv | array |
protected pushOptionValue ( Option $spec, $arg, $next ) | ||
$spec | Option |