PHP Class PradoCommandLineInterpreter, prado

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

Protected Properties

Property Type Description
$_actions command action classes

Public Methods

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

Method Details

addActionClass() public method

public addActionClass ( $class )

getInstance() public static method

public static getInstance ( ) : PradoCommandLineInterpreter
return PradoCommandLineInterpreter static instance

printGreeting() public static method

public static printGreeting ( )

printHelp() public method

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

run() public method

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

Property Details

$_actions protected_oe property

command action classes
protected $_actions