ClearCompiledCommand::table()

void table(array $headers, Arrayable|array $rows, string $style = 'default') Format input to textual table. Parameters array $headers Arrayable|array $rows string $style Return Value void

ClearCompiledCommand::setLaravel()

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

ClearCompiledCommand::secret()

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

ClearCompiledCommand::run()

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

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

ClearCompiledCommand::options()

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

ClearCompiledCommand::option()

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

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

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

ClearCompiledCommand::hasOption()

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