Copied!

Stores all completion suggestions for the current input.

Cloneable Final Instantiable
Methods
public getOptionSuggestions () : array
 
  • return InputOption []
public getValueSuggestions () : array
public suggestOption ( Symfony\Component\Console\Input\InputOption $option ) : static
 

Add a suggestion for an input option name.

  • return $this
public suggestOptions ( array $options ) : static
 

Add multiple suggestions for input option names at once.

  • param InputOption [] $options
  • return $this
public suggestValue ( Symfony\Component\Console\Completion\Suggestion | string $value ) : static
 

Add a suggested value for an input option or argument.

  • return $this
public suggestValues ( array $values ) : static
 

Add multiple suggested values at once for an input option or argument.

  • param list | Suggestion> $values
  • return $this
Properties
private $optionSuggestions
private $valueSuggestions
© 2022 Bruce Wells
Search Namespaces \ Classes
Configuration