WorkCommand::setLaravel()

void setLaravel(Container $laravel) Set the Laravel application instance. Parameters Container $laravel Return Value void

WorkCommand::options()

array options() Get all of the options passed to the command. Return Value array

WorkCommand::run()

int run(InputInterface $input, OutputInterface $output) Run the console command. Parameters InputInterface $input OutputInterface $output Return Value int

WorkCommand::question()

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

WorkCommand::option()

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

WorkCommand::getOutput()

OutputInterface getOutput() Get the output implementation. Return Value OutputInterface

WorkCommand::hasOption()

bool hasOption(string $name) Determine if the given option is present. Parameters string $name Return Value bool

WorkCommand::info()

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

WorkCommand::hasArgument()

bool hasArgument(string|int $name) Determine if the given argument is present. Parameters string|int $name Return Value bool

WorkCommand::line()

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