classe Console (Voir la source)

Traits

Constantes

private COMMAND

The command list

private ADD_ACTION

The action list

Méthodes

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

Throw fails command

void
__construct(Setting $setting)

Bow constructor.

void
bind(Loader $kernel)

Bind kernel

mixed
run()

Launch Bow task runner

void
call(string $command)

Calls a command

addCommand(string $command, callable $cb)

Add a custom order to the store

Détails

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

Throw fails command

Paramètres

string $message
string|null $command

Valeur de retour

void

Exceptions

ErrorException

void __construct(Setting $setting)

Bow constructor.

Paramètres

Setting $setting

Valeur de retour

void

void bind(Loader $kernel)

Bind kernel

Paramètres

Loader $kernel

Valeur de retour

void

mixed run()

Launch Bow task runner

Valeur de retour

mixed

Exceptions

void call(string $command)

Calls a command

Paramètres

string $command

Valeur de retour

void

Exceptions

Console addCommand(string $command, callable $cb)

Add a custom order to the store

Paramètres

string $command
callable $cb

Valeur de retour

Console