PHP Class Liip\RMT\Information\InformationRequest

Show file 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 static property

protected static $defaults

$hasValue protected property

protected $hasValue

$name protected property

protected $name

$options protected property

protected $options

$validTypes protected static property

protected static $validTypes

$value protected property

protected $value