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

Inheritance: extends Symfony\Component\Console\Command\Command
Mostra file Open project: stecman/symfony-console-completion

Protected Properties

Property Type Description
$handler CompletionHandler

Public Methods

Method Description
getNativeDefinition ( )

Protected Methods

Method 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 method

protected configure ( )

configureCompletion() protected method

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

createDefinition() protected method

protected createDefinition ( )

execute() protected method

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 method

public getNativeDefinition ( )

getShellType() protected method

Determine the shell type for use with HookFactory
protected getShellType ( ) : string
return string

runCompletion() protected method

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[]
return string[]

Property Details

$handler protected_oe property

protected CompletionHandler,Stecman\Component\Symfony\Console\BashCompletion $handler
return CompletionHandler