class Console (View source)

Traits

Constants

COMMAND

The command list

ADD_ACTION

The action list

Methods

throwFailsCommand(string $message, string $command = null)

Throw fails command

void
__construct(Setting $setting)

Bow constructor.

void
bind(Loader $kernel)

Bind kernel

void
run()

Launch Bow task runner

Bow
addCommand(string $command, callable $cb)

Add a custom order to the store

Details

protected throwFailsCommand(string $message, string $command = null)

Throw fails command

Parameters

string $message
string $command

Exceptions

ErrorException

void __construct(Setting $setting)

Bow constructor.

Parameters

Setting $setting

Return Value

void

void bind(Loader $kernel)

Bind kernel

Parameters

Loader $kernel

Return Value

void

void run()

Launch Bow task runner

Return Value

void

Exceptions

Bow addCommand(string $command, callable $cb)

Add a custom order to the store

Parameters

string $command
callable $cb

Return Value

Bow