프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$options |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$defaults | |||
$types |
메소드 | 설명 | |
---|---|---|
__construct ( array $opts ) | ||
getOpt ( String $opt ) : Mixed | Gets an options. |
메소드 | 설명 | |
---|---|---|
convertToBoolean ( mixed $value ) : boolean | mixed | Converts the given value to a Boolean if it can be. | |
convertToInt ( mixed $value ) : integer | mixed | Converts the given value to a Integer if it can be. | |
mergeDefaults ( array $opts ) : [String | Returns all of the index options set to their default or given value (using the given options). | |
validate ( $opts ) : [String | Validates the given options as index options. |
public getOpt ( String $opt ) : Mixed | ||
$opt | String | Option name. |
리턴 | Mixed |
protected mergeDefaults ( array $opts ) : [String | ||
$opts | array | |
리턴 | [String |
protected validate ( $opts ) : [String | ||
리턴 | [String |