PHP Class Altax\Console\Application

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

Protected Properties

Property Type Description
$container Application container instance.

Public Methods

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

Protected Methods

Method Description
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]

Method Details

__construct() public method

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

all() public method

public all ( $namespace = null )

configureContainer() protected method

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

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 method

public getContainer ( )

getDefaultHelperSet() protected method

{@inheritDoc}
protected getDefaultHelperSet ( )

getDefaultInputDefinition() protected method

getLongVersion() public method

[getLongVersion description]
public getLongVersion ( ) : [type]
return [type]

loadConfiguration() protected method

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() protected method

Register Modules.
protected registerBaseModules ( )

registerBuiltinCommands() protected method

Register base commands
protected registerBuiltinCommands ( )

registerTasksAsConsoleCommands() protected method

[registerTasksAsConsoleCommands description]
protected registerTasksAsConsoleCommands ( ) : [type]
return [type]

run() public method

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

Property Details

$container protected property

Application container instance.
protected $container