PHP Class HippoPHP\Hippo\CLI\ArgContainer

Afficher le fichier Open project: hippophp/hippo Class Usage Examples

Méthodes publiques

Méthode Description
addStrayArgument ( mixed $value )
getAllOptions ( ) : array
getLongOption ( string $arg )
getLongOptions ( ) : array
getShortOption ( string $arg )
getShortOptions ( ) : array
getStrayArguments ( ) : mixed[]
setLongOption ( string $arg, mixed $value )
setShortOption ( string $arg, mixed $value )

Method Details

addStrayArgument() public méthode

public addStrayArgument ( mixed $value )
$value mixed

getAllOptions() public méthode

public getAllOptions ( ) : array
Résultat array

getLongOption() public méthode

public getLongOption ( string $arg )
$arg string

getLongOptions() public méthode

public getLongOptions ( ) : array
Résultat array

getShortOption() public méthode

public getShortOption ( string $arg )
$arg string

getShortOptions() public méthode

public getShortOptions ( ) : array
Résultat array

getStrayArguments() public méthode

public getStrayArguments ( ) : mixed[]
Résultat mixed[]

setLongOption() public méthode

public setLongOption ( string $arg, mixed $value )
$arg string
$value mixed

setShortOption() public méthode

public setShortOption ( string $arg, mixed $value )
$arg string
$value mixed