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

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

BaseCommand::hasOption()

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

BaseCommand::hasArgument()

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

BaseCommand::getOutput()

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

BaseCommand::getLaravel()

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

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

BaseCommand::confirm()

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

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

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