PHP Class PradoCommandLineInterpreter, prado

Command line interface, configures the action classes and dispatches the command actions.
Since: 3.0.5
Afficher le fichier Open project: pradosoft/prado Class Usage Examples

Protected Properties

Свойство Type Description
$_actions command action classes

Méthodes publiques

Méthode Description
addActionClass ( $class )
getInstance ( ) : PradoCommandLineInterpreter
printGreeting ( )
printHelp ( ) Print command line help, default action.
run ( $args ) Dispatch the command line actions.

Method Details

addActionClass() public méthode

public addActionClass ( $class )

getInstance() public static méthode

public static getInstance ( ) : PradoCommandLineInterpreter
Résultat PradoCommandLineInterpreter static instance

printGreeting() public static méthode

public static printGreeting ( )

printHelp() public méthode

Print command line help, default action.
public printHelp ( )

run() public méthode

Dispatch the command line actions.
public run ( $args )

Property Details

$_actions protected_oe property

command action classes
protected $_actions