PHP Class Hal\Application\Console\DesignPatternApplication

Inheritance: extends Symfony\Component\Console\Application
Show file Open project: Halleck45/DesignPatternDetector

Protected Methods

Method Description
getCommandName ( Symfony\Component\Console\Input\InputInterface $input ) : string Gets the name of the command based on input.
getDefaultCommands ( ) : Command[] 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 ( ) : Command[]
return Command[] An array of default Command instances