Метод |
Описание |
|
__construct ( array $arguments ) |
Parses the command line arguments. |
|
__get ( string $key ) : string/array/boolean |
The arguments are available as individual member variables on the object. |
|
all ( ) : hash |
The entire argument set as a hash. |
|
assign ( string $key, $value ) |
Sets the value in the argments object. If multiple values are added under
the same key, the key will give an array value in the order they were
added. |
|
isFlag ( string $argument ) : boolean |
It's a flag if it starts with "-" or "--". |
|
valueIsNext ( array $arguments ) |
Test to see if the next available argument is a valid value. |
|