64 lines
1.5 KiB
YAML
64 lines
1.5 KiB
YAML
|
name: CompletionSuggestions
|
||
|
class_comment: null
|
||
|
dependencies:
|
||
|
- name: InputOption
|
||
|
type: class
|
||
|
source: Symfony\Component\Console\Input\InputOption
|
||
|
properties: []
|
||
|
methods:
|
||
|
- name: suggestValue
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: value
|
||
|
comment: "# * Stores all completion suggestions for the current input.\n# *\n# *\
|
||
|
\ @author Wouter de Jong <wouter@wouterj.nl>\n# */\n# final class CompletionSuggestions\n\
|
||
|
# {\n# private array $valueSuggestions = [];\n# private array $optionSuggestions\
|
||
|
\ = [];\n# \n# /**\n# * Add a suggested value for an input option or argument.\n\
|
||
|
# *\n# * @return $this"
|
||
|
- name: suggestValues
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: values
|
||
|
comment: '# * Add multiple suggested values at once for an input option or argument.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @param list<string|Suggestion> $values
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @return $this'
|
||
|
- name: suggestOption
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: option
|
||
|
comment: '# * Add a suggestion for an input option name.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @return $this'
|
||
|
- name: suggestOptions
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: options
|
||
|
comment: '# * Add multiple suggestions for input option names at once.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @param InputOption[] $options
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @return $this'
|
||
|
- name: getOptionSuggestions
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: '# * @return InputOption[]'
|
||
|
- name: getValueSuggestions
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: '# * @return Suggestion[]'
|
||
|
traits:
|
||
|
- Symfony\Component\Console\Input\InputOption
|
||
|
interfaces: []
|