PHP Класс SebastianBergmann\PHPLOC\CLI\Application

Наследование: extends Symfony\Component\Console\Application
Показать файл Открыть проект

Открытые методы

Метод Описание
__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.

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
disableXdebug ( )

Описание методов

__construct() публичный Метод

public __construct ( )

doRun() публичный Метод

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
Результат integer 0 if everything went fine, or an error code

getCommandName() защищенный Метод

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
Результат string The command name

getDefaultCommands() защищенный Метод

Gets the default commands that should always be available.
protected getDefaultCommands ( ) : array
Результат array An array of default Command instances

getDefinition() публичный Метод

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