WorkCommand::fire()

void fire() Execute the console command. Return Value void

WorkCommand::error()

void error(string $string, null|int|string $verbosity = null) Write a string as error output. Parameters string $string null|int|string $verbosity Return Value void

WorkCommand::getLaravel()

Application getLaravel() Get the Laravel application instance. Return Value Application

WorkCommand::confirm()

bool confirm(string $question, bool $default = false) Confirm a question with the user. Parameters string $question bool $default Return Value bool

WorkCommand::callSilent()

int callSilent(string $command, array $arguments = array()) Call another console command silently. Parameters string $command array $arguments Return Value int

WorkCommand::comment()

void comment(string $string, null|int|string $verbosity = null) Write a string as comment output. Parameters string $string null|int|string $verbosity Return Value void

WorkCommand::call()

int call(string $command, array $arguments = array()) Call another console command. Parameters string $command array $arguments Return Value int

WorkCommand::choice()

string choice(string $question, array $choices, string $default = null, mixed $attempts = null, bool $multiple = null) Give the user a single choice from an array of answers. Parameters string $question array $choices string $default mixed $attempts bool $multiple Return Value string

WorkCommand::ask()

string ask(string $question, string $default = null) Prompt the user for input. Parameters string $question string $default Return Value string

WorkCommand::argument()

string|array argument(string $key = null) Get the value of a command argument. Parameters string $key Return Value string|array