Свойство | Type | Description | |
---|---|---|---|
$error | string | Error during argument parsing. | |
$nonOptions | array | Parsed non-options. | |
$options | array | Parsed options. |
Méthode | Description | |
---|---|---|
__construct ( array $arguments, array $options ) : void | Parse command line arguments. | |
getError ( ) : string | Get parser error. | |
getNonOptions ( ) : array | Get all parsed non-options. | |
getOptions ( ) : array | Get all parsed options. |
Méthode | Description | |
---|---|---|
parseLongOption ( string $option, string $argument, array $options, integer &$argumentIndex ) : boolean | Parse a long option. | |
parseShortOption ( string $option, string $argument, array $options, integer &$argumentIndex ) : boolean | Parse a short option. |
public getNonOptions ( ) : array | ||
Résultat | array |