PHP Class Hal\Application\Console\DesignPatternApplication

Inheritance: extends Symfony\Component\Console\Application
Afficher le fichier Open project: Halleck45/DesignPatternDetector

Méthodes protégées

Méthode 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 méthode

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
Résultat string The command name

getDefaultCommands() protected méthode

Gets the default commands that should always be available.
protected getDefaultCommands ( ) : Command[]
Résultat Command[] An array of default Command instances