ResetCommand::anticipate()

string anticipate(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

ResetCommand

ResetCommand class ResetCommand extends BaseCommand (View source) Traits ConfirmableTrait

RequestMakeCommand::__construct()

void __construct(Filesystem $files) Create a new controller creator command instance. Parameters Filesystem $files Return Value void

RequestMakeCommand::warn()

void warn(string $string) Write a string as warning output. Parameters string $string Return Value void

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

RequestMakeCommand::setLaravel()

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

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

RequestMakeCommand::run()

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

RequestMakeCommand::question()

void question(string $string) Write a string as question output. Parameters string $string Return Value void

RequestMakeCommand::option()

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