PHP Class Stecman\Component\Symfony\Console\BashCompletion\CompletionCommand

Inheritance: extends Symfony\Component\Console\Command\Command
Afficher le fichier Open project: stecman/symfony-console-completion

Protected Properties

Свойство Type Description
$handler CompletionHandler

Méthodes publiques

Méthode Description
getNativeDefinition ( )

Méthodes protégées

Méthode Description
configure ( )
configureCompletion ( CompletionHandler $handler ) Configure the CompletionHandler instance before it is run
createDefinition ( )
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
getShellType ( ) : string Determine the shell type for use with HookFactory
runCompletion ( ) : string[] Run the completion handler and return a filtered list of results

Method Details

configure() protected méthode

protected configure ( )

configureCompletion() protected méthode

Configure the CompletionHandler instance before it is run
protected configureCompletion ( CompletionHandler $handler )
$handler CompletionHandler

createDefinition() protected méthode

protected createDefinition ( )

execute() protected méthode

protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

getNativeDefinition() public méthode

public getNativeDefinition ( )

getShellType() protected méthode

Determine the shell type for use with HookFactory
protected getShellType ( ) : string
Résultat string

runCompletion() protected méthode

Run the completion handler and return a filtered list of results
Deprecation: - This will be removed in 1.0.0 in favour of CompletionCommand::configureCompletion
protected runCompletion ( ) : string[]
Résultat string[]

Property Details

$handler protected_oe property

protected CompletionHandler,Stecman\Component\Symfony\Console\BashCompletion $handler
Résultat CompletionHandler