Cli
in package
CLI class.
Table of Contents
- $climate : CLImate
- $exec : bool
- __construct() : mixed
- Construct.
- actionsList() : void
- Show actions list.
- modulesList() : void
- Show modules list.
- getModulesList() : array<string|int, string>
- Get modules list.
- showHelp() : void
- Show help.
Properties
$climate
public
CLImate
$climate
CLImate instance.
$exec
public
bool
$exec
= true
Php support exec
Methods
__construct()
Construct.
public
__construct() : mixed
Return values
mixed —actionsList()
Show actions list.
public
actionsList(string $module) : void
Parameters
- $module : string
Return values
void —modulesList()
Show modules list.
public
modulesList() : void
Return values
void —getModulesList()
Get modules list.
private
getModulesList() : array<string|int, string>
Return values
array<string|int, string> —showHelp()
Show help.
private
showHelp() : void