On this page
PromptsForMissingInput
trait PromptsForMissingInput (View source)
Methods
void | interact(InputInterface $input, OutputInterface $output) Interact with the user before validating the input. |
|
void | promptForMissingArguments(InputInterface $input, OutputInterface $output) Prompt the user for any missing arguments. |
|
array | promptForMissingArgumentsUsing() Prompt for missing input arguments using the returned questions. |
|
void | afterPromptingForMissingArguments(InputInterface $input, OutputInterface $output) Perform actions after the user was prompted for missing arguments. |
|
bool | didReceiveOptions(InputInterface $input) Whether the input contains any options that differ from the default values. |
Details
protected void interact(InputInterface $input, OutputInterface $output)
Interact with the user before validating the input.
protected void promptForMissingArguments(InputInterface $input, OutputInterface $output)
Prompt the user for any missing arguments.
protected array promptForMissingArgumentsUsing()
Prompt for missing input arguments using the returned questions.
protected void afterPromptingForMissingArguments(InputInterface $input, OutputInterface $output)
Perform actions after the user was prompted for missing arguments.
protected bool didReceiveOptions(InputInterface $input)
Whether the input contains any options that differ from the default values.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/10.x/Illuminate/Console/Concerns/PromptsForMissingInput.html