PHP Класс Altax\Console\Application

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

Защищенные свойства (Protected)

Свойство Тип Описание
$container Application container instance.

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

Метод Описание
__construct ( Container $container )
all ( $namespace = null )
doRun ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) This cli application main process.
getContainer ( )
getLongVersion ( ) : [type] [getLongVersion description]
run ( Symfony\Component\Console\Input\InputInterface $input = null, Symfony\Component\Console\Output\OutputInterface $output = null ) {@inheritDoc}

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

Метод Описание
configureContainer ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) Configure container to use cli application.
getDefaultHelperSet ( ) {@inheritDoc}
getDefaultInputDefinition ( )
loadConfiguration ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) Load configuration.
registerBaseModules ( ) Register Modules.
registerBuiltinCommands ( ) Register base commands
registerTasksAsConsoleCommands ( ) : [type] [registerTasksAsConsoleCommands description]

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

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

public __construct ( Container $container )
$container Altax\Foundation\Container

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

public all ( $namespace = null )

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

Configure container to use cli application.
protected configureContainer ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

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

This cli application main process.
public doRun ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

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

public getContainer ( )

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

{@inheritDoc}
protected getDefaultHelperSet ( )

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

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

[getLongVersion description]
public getLongVersion ( ) : [type]
Результат [type]

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

Load configuration.
protected loadConfiguration ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

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

Register Modules.
protected registerBaseModules ( )

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

Register base commands
protected registerBuiltinCommands ( )

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

[registerTasksAsConsoleCommands description]
protected registerTasksAsConsoleCommands ( ) : [type]
Результат [type]

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

{@inheritDoc}
public run ( Symfony\Component\Console\Input\InputInterface $input = null, Symfony\Component\Console\Output\OutputInterface $output = null )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

Описание свойств

$container защищенное свойство

Application container instance.
protected $container