PHP Класс CacheTool\Console\Application

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

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

Свойство Тип Описание
$config Config
$logger Monolog\Logger

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

Метод Описание
__construct ( Config $config )
buildContainer ( Symfony\Component\Console\Input\InputInterface $input ) : Symfony\Component\DependencyInjection\ContainerInterface
doRun ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) {@inheritDoc}
doRunCommand ( Command $command, Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) {@inheritDoc}

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

Метод Описание
getDefaultCommands ( )
getDefaultInputDefinition ( ) {@inheritDoc}

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

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

public __construct ( Config $config )
$config Config

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

public buildContainer ( Symfony\Component\Console\Input\InputInterface $input ) : Symfony\Component\DependencyInjection\ContainerInterface
$input Symfony\Component\Console\Input\InputInterface
Результат Symfony\Component\DependencyInjection\ContainerInterface

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

{@inheritDoc}
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

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

{@inheritDoc}
public doRunCommand ( Command $command, Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$command Symfony\Component\Console\Command\Command
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

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

protected getDefaultCommands ( )

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

{@inheritDoc}

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

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

protected Config,CacheTool\Console $config
Результат Config

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

protected Logger,Monolog $logger
Результат Monolog\Logger