ClosureCommand::option()

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

ClosureCommand::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

ClosureCommand::options()

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

ClosureCommand::hasArgument()

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

ClosureCommand::describe()

$this describe(string $description) Set the description for the command. Parameters string $description Return Value $this

ClosureCommand::getOutput()

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

ClosureCommand::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

ClosureCommand::getLaravel()

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

ClosureCommand::callSilent()

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

ClosureCommand::askWithCompletion()

string askWithCompletion(string $question, array $choices, string $default = null) Prompt the user for input with auto completion. Parameters string $question array $choices string $default Return Value string