Console
class Console
Class Console
Properties
protected Input | $input | ||
protected Output | $output | ||
protected ConsoleLogger | $logger |
Methods
Setup minimal constraints for Console Output and Logging
Creates a new instance of CommandSet by given command and optionally module name.
Returns all available commands
No description
Prints a list of all available commands with arguments and exit.
Prints debug profiling information.
Runs the console application.
No description
Shows importent information of current system state to the user
Details
at line 35
__construct()
Setup minimal constraints for Console Output and Logging
at line 157
CommandSet
createCommandSet(string $command, string|null $module = null, string|null $vendor = null)
Creates a new instance of CommandSet by given command and optionally module name.
at line 215
array
getAvailableCommands()
Returns all available commands
at line 190
ConsoleLogger
getLogger()
No description
at line 200
void
listCommands()
Prints a list of all available commands with arguments and exit.
For displaying all available commands, this method scans different folders for console commands and instantiates them for getting their definitions which are used to print the content as table.
at line 284
protected void
printDebugProfiling()
Prints debug profiling information.
at line 44
void
run()
Runs the console application.
at line 109
runCommand(Input $input)
Runs a command defined by input.
at line 133
runPreBoot()
No description