string secret(string $question, bool $fallback = true) Prompt the user for input but hide the answer from the console. Parameters string $question bool $fallback Return Value string
int run(InputInterface $input, OutputInterface $output) Run the console command. Parameters InputInterface $input OutputInterface $output Return Value int
void setLaravel(Container $laravel) Set the Laravel application instance. Parameters Container $laravel Return Value void
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
string|array option(string $key = null) Get the value of a command option. Parameters string $key Return Value string|array
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
bool hasArgument(string|int $name) Determine if the given argument is present. Parameters string|int $name Return Value bool
bool hasOption(string $name) Determine if the given option is present. Parameters string $name Return Value bool
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
bool confirm(string $question, bool $default = false) Confirm a question with the user. Parameters string $question bool $default Return Value bool
Page 180 of 996