PHP Class CacheTool\Console\Application

Inheritance: extends Symfony\Component\Console\Application
Show file Open project: gordalina/cachetool Class Usage Examples

Protected Properties

Property Type Description
$config Config
$logger Monolog\Logger

Public Methods

Method Description
__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}

Protected Methods

Method Description
getDefaultCommands ( )
getDefaultInputDefinition ( ) {@inheritDoc}

Method Details

__construct() public method

public __construct ( Config $config )
$config Config

buildContainer() public method

public buildContainer ( Symfony\Component\Console\Input\InputInterface $input ) : Symfony\Component\DependencyInjection\ContainerInterface
$input Symfony\Component\Console\Input\InputInterface
return Symfony\Component\DependencyInjection\ContainerInterface

doRun() public method

{@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() public method

{@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 method

protected getDefaultCommands ( )

getDefaultInputDefinition() protected method

{@inheritDoc}

Property Details

$config protected property

protected Config,CacheTool\Console $config
return Config

$logger protected property

protected Logger,Monolog $logger
return Monolog\Logger