PHP Class SebastianBergmann\PHPLOC\CLI\Application

Inheritance: extends Symfony\Component\Console\Application
Afficher le fichier Open project: sebastianbergmann/phploc

Méthodes publiques

Méthode Description
__construct ( )
doRun ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer Runs the current application.
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.
getDefaultCommands ( ) : array Gets the default commands that should always be available.

Private Methods

Méthode Description
disableXdebug ( )

Method Details

__construct() public méthode

public __construct ( )

doRun() public méthode

Runs the current application.
public doRun ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer
$input Symfony\Component\Console\Input\InputInterface An Input instance
$output Symfony\Component\Console\Output\OutputInterface An Output instance
Résultat integer 0 if everything went fine, or an error code

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 ( ) : array
Résultat array An array of default Command instances

getDefinition() public méthode

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