api/symfony/Component/Console/Command/CompleteCommand.yaml

100 lines
3.3 KiB
YAML
Raw Permalink Normal View History

2024-09-26 09:03:21 +00:00
name: CompleteCommand
class_comment: null
dependencies:
- name: AsCommand
type: class
source: Symfony\Component\Console\Attribute\AsCommand
- name: CompletionInput
type: class
source: Symfony\Component\Console\Completion\CompletionInput
- name: CompletionSuggestions
type: class
source: Symfony\Component\Console\Completion\CompletionSuggestions
- name: BashCompletionOutput
type: class
source: Symfony\Component\Console\Completion\Output\BashCompletionOutput
- name: CompletionOutputInterface
type: class
source: Symfony\Component\Console\Completion\Output\CompletionOutputInterface
- name: FishCompletionOutput
type: class
source: Symfony\Component\Console\Completion\Output\FishCompletionOutput
- name: ZshCompletionOutput
type: class
source: Symfony\Component\Console\Completion\Output\ZshCompletionOutput
- name: CommandNotFoundException
type: class
source: Symfony\Component\Console\Exception\CommandNotFoundException
- name: ExceptionInterface
type: class
source: Symfony\Component\Console\Exception\ExceptionInterface
- name: InputInterface
type: class
source: Symfony\Component\Console\Input\InputInterface
- name: InputOption
type: class
source: Symfony\Component\Console\Input\InputOption
- name: OutputInterface
type: class
source: Symfony\Component\Console\Output\OutputInterface
properties: []
methods:
- name: __construct
visibility: public
parameters:
- name: completionOutputs
default: '[]'
comment: "# * Responsible for providing the values to the shell completion.\n# *\n\
# * @author Wouter de Jong <wouter@wouterj.nl>\n# */\n# #[AsCommand(name: '|_complete',\
\ description: 'Internal command to provide shell completion suggestions')]\n\
# final class CompleteCommand extends Command\n# {\n# public const COMPLETION_API_VERSION\
\ = '1';\n# \n# private array $completionOutputs;\n# private bool $isDebug = false;\n\
# \n# /**\n# * @param array<string, class-string<CompletionOutputInterface>> $completionOutputs\
\ A list of additional completion outputs, with shell name as key and FQCN as\
\ value"
- name: configure
visibility: protected
parameters: []
comment: null
- name: initialize
visibility: protected
parameters:
- name: input
- name: output
comment: null
- name: execute
visibility: protected
parameters:
- name: input
- name: output
comment: null
- name: createCompletionInput
visibility: private
parameters:
- name: input
comment: null
- name: findCommand
visibility: private
parameters:
- name: completionInput
comment: null
- name: log
visibility: private
parameters:
- name: messages
comment: null
traits:
- Symfony\Component\Console\Attribute\AsCommand
- Symfony\Component\Console\Completion\CompletionInput
- Symfony\Component\Console\Completion\CompletionSuggestions
- Symfony\Component\Console\Completion\Output\BashCompletionOutput
- Symfony\Component\Console\Completion\Output\CompletionOutputInterface
- Symfony\Component\Console\Completion\Output\FishCompletionOutput
- Symfony\Component\Console\Completion\Output\ZshCompletionOutput
- Symfony\Component\Console\Exception\CommandNotFoundException
- Symfony\Component\Console\Exception\ExceptionInterface
- Symfony\Component\Console\Input\InputInterface
- Symfony\Component\Console\Input\InputOption
- Symfony\Component\Console\Output\OutputInterface
interfaces: []