Cli
in package
CLI class.
Tags
Table of Contents
Properties
- $CliApp : Application
- $Container : Container
Methods
- __construct() : mixed
- Class constructor.
- run() : mixed
- Run the application in command line.
- getAvailableCommands() : mixed
- Automatic get all available commands in Rdb\System\Core\Console and Rdb\Modules\[ModuleName]\Console
Properties
$CliApp
protected
Application
$CliApp
$Container
protected
Container
$Container
Methods
__construct()
Class constructor.
public
__construct(Container $Container) : mixed
Parameters
- $Container : Container
-
The DI container class.
run()
Run the application in command line.
public
run() : mixed
getAvailableCommands()
Automatic get all available commands in Rdb\System\Core\Console and Rdb\Modules\[ModuleName]\Console
protected
getAvailableCommands() : mixed