PHP Класс Doctrine\DBAL\Migrations\Tools\Console\ConsoleRunner

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
addCommands ( Application $cli ) : void
createApplication ( Symfony\Component\Console\Helper\HelperSet $helperSet, array $commands = [] ) : Application Creates a console application with the given helperset and optional commands.
run ( Symfony\Component\Console\Helper\HelperSet $helperSet, Command[] $commands = [] ) : void Runs console with the given helperset.

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

addCommands() публичный статический Метод

public static addCommands ( Application $cli ) : void
$cli Symfony\Component\Console\Application
Результат void

createApplication() публичный статический Метод

Creates a console application with the given helperset and optional commands.
public static createApplication ( Symfony\Component\Console\Helper\HelperSet $helperSet, array $commands = [] ) : Application
$helperSet Symfony\Component\Console\Helper\HelperSet
$commands array
Результат Symfony\Component\Console\Application

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

Runs console with the given helperset.
public static run ( Symfony\Component\Console\Helper\HelperSet $helperSet, Command[] $commands = [] ) : void
$helperSet Symfony\Component\Console\Helper\HelperSet
$commands Symfony\Component\Console\Command\Command[]
Результат void