PHP Class SensioLabs\Deptrac\OutputFormatter\OutputFormatterOption

Afficher le fichier Open project: sensiolabs-de/deptrac Class Usage Examples

Méthodes publiques

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

Private Methods

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

Method Details

getDefault() public méthode

public getDefault ( ) : mixed
Résultat mixed

getDescription() public méthode

public getDescription ( ) : string
Résultat string

getMode() public méthode

public getMode ( ) : integer | null
Résultat integer | null

getName() public méthode

public getName ( ) : string
Résultat string

newValueOption() public static méthode

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