PHP Класс Pagekit\Application\Console\Application

Наследование: extends Symfony\Component\Console\Application
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$container Pagekit\Application The Pagekit application instance.

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

Метод Описание
__construct ( Pagekit\Application $container, string $name = 'UNKNOWN', $version = 'UNKNOWN' ) Constructor.
add ( Command $command ) : Command Add a command to the console.
run ( Symfony\Component\Console\Input\InputInterface $input = null, Symfony\Component\Console\Output\OutputInterface $output = null )

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

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

Constructor.
public __construct ( Pagekit\Application $container, string $name = 'UNKNOWN', $version = 'UNKNOWN' )
$container Pagekit\Application
$name string

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

Add a command to the console.
public add ( Command $command ) : Command
$command Symfony\Component\Console\Command\Command
Результат Symfony\Component\Console\Command\Command

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

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

Описание свойств

$container защищенное свойство

The Pagekit application instance.
protected Application,Pagekit $container
Результат Pagekit\Application