PHP Class Altax\Console\Application

Inheritance: extends Symfony\Component\Console\Application
Afficher le fichier Open project: kohkimakimoto/altax Class Usage Examples

Protected Properties

Свойство Type Description
$container Application container instance.

Méthodes publiques

Méthode 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}

Méthodes protégées

Méthode 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 méthode

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

all() public méthode

public all ( $namespace = null )

configureContainer() protected méthode

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 méthode

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 méthode

public getContainer ( )

getDefaultHelperSet() protected méthode

{@inheritDoc}
protected getDefaultHelperSet ( )

getDefaultInputDefinition() protected méthode

getLongVersion() public méthode

[getLongVersion description]
public getLongVersion ( ) : [type]
Résultat [type]

loadConfiguration() protected méthode

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 méthode

Register Modules.
protected registerBaseModules ( )

registerBuiltinCommands() protected méthode

Register base commands
protected registerBuiltinCommands ( )

registerTasksAsConsoleCommands() protected méthode

[registerTasksAsConsoleCommands description]
protected registerTasksAsConsoleCommands ( ) : [type]
Résultat [type]

run() public méthode

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

Application container instance.
protected $container