trait Illuminate / Console / Concerns / ConfiguresPrompts
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

ConfiguresPrompts

Methods

protected

configurePrompts ( Symfony\...\InputInterface $input ) : void

Configure the prompt fallbacks.

Parameters

  • $input Symfony\...\InputInterface
protected

promptUntilValid ( $prompt , $required , $validate ) : mixed

Prompt the user until the given validation callback passes.

Parameters

protected

restorePrompts ( ) : void

Restore the prompts output.