Свойство | Type | Description | |
---|---|---|---|
$data | |||
$longOptions | Option[string] | ||
$options | Option[] | read-only property | |
$shortOptions | Option[string] |
Méthode | Description | |
---|---|---|
__clone ( ) | ||
__construct ( ) | ||
add ( ) | add( [spec string], [desc string] ). | |
addOption ( Option $spec ) | Add option object. | |
all ( ) | ||
count ( ) | ||
find ( $name ) | ||
get ( $id ) | * Get spec by spec id | |
getIterator ( ) | ||
getLongOption ( $name ) | ||
getShortOption ( $name ) | ||
keys ( ) | ||
size ( ) | ||
toArray ( ) |
public addOption ( Option $spec ) | ||
$spec | Option | the option object. |