PHP Class GetOptionKit\OptionResult
create option result from array()
OptionResult::create($spec, array(
'key' => 'value'
), array( ... arguments ... ) );
显示文件
Open project: c9s/getoptionkit
Class Usage Examples
Public Properties
Property |
Type |
Description |
|
$arguments |
|
* arguments |
|
$keys |
|
option specs, key => Option object |
|
Public Methods
Method Details
public __set ( $key, $value ) |
addArgument()
public method
create()
public static method
getArguments()
public method
getIterator()
public method
offsetExists()
public method
offsetGet()
public method
offsetSet()
public method
offsetUnset()
public method
public set ( $key, Option $value ) |
$value |
Option |
|
Property Details
$arguments public_oe property
option specs, key => Option object