PHP Class DbPatch_Core_Console

Author: Sandy Pleyte
Author: Martijn De Letter
Afficher le fichier Open project: dbpatch/dbpatch Class Usage Examples

Protected Properties

Свойство Type Description
$arguments array
$options array

Méthodes publiques

Méthode Description
__construct ( array $argv ) : void
getArguments ( ) : array
getCommand ( ) : string Returns the command parameter from the command line
getOptionValue ( string $option, string $default = '' ) : string
getOptions ( ) : array
issetOption ( string $option ) : boolean

Méthodes protégées

Méthode Description
parseOptions ( ) : void

Method Details

__construct() public méthode

public __construct ( array $argv ) : void
$argv array
Résultat void

getArguments() public méthode

public getArguments ( ) : array
Résultat array

getCommand() public méthode

Returns the command parameter from the command line
public getCommand ( ) : string
Résultat string

getOptionValue() public méthode

public getOptionValue ( string $option, string $default = '' ) : string
$option string
$default string
Résultat string

getOptions() public méthode

public getOptions ( ) : array
Résultat array

issetOption() public méthode

public issetOption ( string $option ) : boolean
$option string
Résultat boolean

parseOptions() protected méthode

protected parseOptions ( ) : void
Résultat void

Property Details

$arguments protected_oe property

protected array $arguments
Résultat array

$options protected_oe property

protected array $options
Résultat array