PHP Class Liip\RMT\Information\InformationRequest

显示文件 Open project: liip/rmt Class Usage Examples

Protected Properties

Property Type Description
$defaults
$hasValue
$name
$options
$validTypes
$value

Public Methods

Method Description
__construct ( $name, $options = [] )
convertToCommandOption ( )
convertToInteractiveQuestion ( )
getName ( )
getOption ( $name )
getValue ( )
hasValue ( )
isAvailableAsCommandOption ( )
isAvailableForInteractive ( )
setValue ( $value )
validate ( $value )

Private Methods

Method Description
validateValue ( $parameters, $callback, $message )

Method Details

__construct() public method

public __construct ( $name, $options = [] )

convertToCommandOption() public method

convertToInteractiveQuestion() public method

getName() public method

public getName ( )

getOption() public method

public getOption ( $name )

getValue() public method

public getValue ( )

hasValue() public method

public hasValue ( )

isAvailableAsCommandOption() public method

isAvailableForInteractive() public method

setValue() public method

public setValue ( $value )

validate() public method

public validate ( $value )

Property Details

$defaults protected_oe static_oe property

protected static $defaults

$hasValue protected_oe property

protected $hasValue

$name protected_oe property

protected $name

$options protected_oe property

protected $options

$validTypes protected_oe static_oe property

protected static $validTypes

$value protected_oe property

protected $value