PHP Class Symfony\Bundle\FrameworkBundle\Console\Application

Author: Fabien Potencier ([email protected])
Inheritance: extends Symfony\Components\Console\Application
Afficher le fichier Open project: symfony/symfony Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( Symfony\Component\HttpKernel\KernelInterface $kernel ) Constructor.
all ( $namespace = null )
doRun ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer Runs the current application.
find ( $name )
get ( $name )
getKernel ( ) : Symfony\Component\HttpKernel\KernelInterface Gets the Kernel associated with this Console.
getLongVersion ( )

Méthodes protégées

Méthode Description
registerCommands ( )

Method Details

__construct() public méthode

Constructor.
public __construct ( Symfony\Component\HttpKernel\KernelInterface $kernel )
$kernel Symfony\Component\HttpKernel\KernelInterface A KernelInterface instance

all() public méthode

public all ( $namespace = null )

doRun() public méthode

Runs the current application.
public doRun ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer
$input Symfony\Component\Console\Input\InputInterface An Input instance
$output Symfony\Component\Console\Output\OutputInterface An Output instance
Résultat integer 0 if everything went fine, or an error code

find() public méthode

public find ( $name )

get() public méthode

public get ( $name )

getKernel() public méthode

Gets the Kernel associated with this Console.
public getKernel ( ) : Symfony\Component\HttpKernel\KernelInterface
Résultat Symfony\Component\HttpKernel\KernelInterface A KernelInterface instance

getLongVersion() public méthode

public getLongVersion ( )

registerCommands() protected méthode

protected registerCommands ( )