PHP Класс Pantheon\Terminus\Terminus

Показать файл Открыть проект

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

Метод Описание
__construct ( Config $config, Symfony\Component\Console\Input\InputInterface $input = null, Symfony\Component\Console\Output\OutputInterface $output = null ) Object constructor
run ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer Runs the instantiated Terminus application

Приватные методы

Метод Описание
configureContainer ( League\Container\ContainerInterface $container ) Register the necessary classes for Terminus
getCommands ( array $options = ['path' => null, 'namespace' => null] ) : TerminusCommand[] Discovers command classes using CommandFileDiscovery
startVCR ( array $options = ['cassette' => 'tmp', 'mode' => 'none'] ) : void Starts and configures PHP-VCR
stopVCR ( ) : void Stops PHP-VCR's recording and playback

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

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

Object constructor
public __construct ( Config $config, Symfony\Component\Console\Input\InputInterface $input = null, Symfony\Component\Console\Output\OutputInterface $output = null )
$config Config
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

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

Runs the instantiated Terminus application
public run ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer
$input Symfony\Component\Console\Input\InputInterface An input object to run the application with
$output Symfony\Component\Console\Output\OutputInterface An output object to run the application with
Результат integer $status_code The exiting status code of the application