Console
class Console (View source)
Traits
Constants
private VERSION |
Define Bow Framework version. |
private COMMAND |
The command list |
private ADD_ACTION |
The action list |
Methods
void
throwFailsCommand(string $message, string|null $command = null)
Throw fails command
from
ConsoleTrait
void
static Console|null
getInstance()
Get the console instance
mixed
run()
Launch Bow task runner
mixed
call(string|null $command)
Calls a command
static Console
addCommand(string $command, callable $cb)
No description
static void
register(string $command, callable|string $cb)
Add a custom order to the store from the web env This method work on web and cli env
Details
protected void
throwFailsCommand(string $message, string|null $command = null)
Throw fails command
void
__construct(Setting $setting)
Bow constructor.
static Console|null
getInstance()
Get the console instance
void
bind(Loader $kernel)
Bind kernel
mixed
run()
Launch Bow task runner
mixed
call(string|null $command)
Calls a command
static Console
addCommand(string $command, callable $cb)
No description
static void
register(string $command, callable|string $cb)
Add a custom order to the store from the web env This method work on web and cli env