PHP Класс Symfony\Bundle\FrameworkBundle\Console\Application

Автор: Fabien Potencier ([email protected])
Наследование: extends Symfony\Components\Console\Application
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
__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 ( )

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

Метод Описание
registerCommands ( )

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

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

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

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

public all ( $namespace = null )

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

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
Результат integer 0 if everything went fine, or an error code

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

public find ( $name )

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

public get ( $name )

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

Gets the Kernel associated with this Console.
public getKernel ( ) : Symfony\Component\HttpKernel\KernelInterface
Результат Symfony\Component\HttpKernel\KernelInterface A KernelInterface instance

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

public getLongVersion ( )

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

protected registerCommands ( )