ConfiguresPrompts
class ConfiguresPrompts (View source)
Laravel configures prompts in a trait, so we do too to keep code aligned.
This class exists to use the trait and define its dependent class properties.
Traits
Methods
void
configurePrompts(InputInterface $input)
Configure the prompt fallbacks.
mixed
promptUntilValid(Closure $prompt, bool|string $required, Closure|null $validate)
Prompt the user until the given validation callback passes.
__construct(InputInterface $input, OutputInterface $output)
No description
Details
void
configurePrompts(InputInterface $input)
Configure the prompt fallbacks.
protected mixed
promptUntilValid(Closure $prompt, bool|string $required, Closure|null $validate)
Prompt the user until the given validation callback passes.
protected void
restorePrompts()
Restore the prompts output.
protected bool
runningUnitTests()
No description
__construct(InputInterface $input, OutputInterface $output)
No description