PHP Class SensioLabs\Deptrac\OutputFormatter\OutputFormatterOption

Show file Open project: sensiolabs-de/deptrac Class Usage Examples

Public Methods

Method Description
getDefault ( ) : mixed
getDescription ( ) : string
getMode ( ) : integer | null
getName ( ) : string
newValueOption ( $name, $description, $default = null )

Private Methods

Method Description
__construct ( string $name, integer $mode = null, string $description = '', mixed $default = null )

Method Details

getDefault() public method

public getDefault ( ) : mixed
return mixed

getDescription() public method

public getDescription ( ) : string
return string

getMode() public method

public getMode ( ) : integer | null
return integer | null

getName() public method

public getName ( ) : string
return string

newValueOption() public static method

public static newValueOption ( $name, $description, $default = null )