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 question(string $string, null|int|string $verbosity = null) Write a string as question output. Parameters string $string null|int|string $verbosity Return Value void
array options() Get all of the options passed to the command. Return Value array
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
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
bool hasOption(string $name) Determine if the given option is present. Parameters string $name Return Value bool
bool hasArgument(string|int $name) Determine if the given argument is present. Parameters string|int $name Return Value bool
OutputInterface getOutput() Get the output implementation. Return Value OutputInterface
Page 6 of 996