PHP Class Overtrue\PHPLint\Console\Application

Inheritance: extends Symfony\Component\Console\Application
Afficher le fichier Open project: overtrue/phplint

Méthodes publiques

Méthode Description
__construct ( ) Constructor.
getDefinition ( ) Overridden so that the application doesn't expect the command name to be the first argument.

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.

Method Details

__construct() public méthode

Constructor.
public __construct ( )

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

getDefinition() public méthode

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