PHP Class Hal\MutaTesting\Console\MutaTestingApplication

Inheritance: extends Symfony\Component\Console\Application
Show file Open project: halleck45/mutatesting

Public Methods

Method Description
getDefinition ( ) Overridden so that the application doesn't expect the command name to be the first argument.
getDispatcher ( )
getVersion ( )
setDispatcher ( Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher )

Protected Methods

Method Description
getCommandName ( Symfony\Component\Console\Input\InputInterface $input ) : string Gets the name of the command based on input.
getDefaultCommands ( ) : array Gets the default commands that should always be available.

Method Details

getCommandName() protected method

Gets the name of the command based on input.
protected getCommandName ( Symfony\Component\Console\Input\InputInterface $input ) : string
$input Symfony\Component\Console\Input\InputInterface The input interface
return string The command name

getDefaultCommands() protected method

Gets the default commands that should always be available.
protected getDefaultCommands ( ) : array
return array An array of default Command instances

getDefinition() public method

Overridden so that the application doesn't expect the command name to be the first argument.
public getDefinition ( )

getDispatcher() public method

public getDispatcher ( )

getVersion() public method

public getVersion ( )

setDispatcher() public method

public setDispatcher ( Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher )
$dispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface