PHP 클래스 Doctrine\DBAL\Migrations\Tools\Console\ConsoleRunner

파일 보기 프로젝트 열기: doctrine/migrations 1 사용 예제들

공개 메소드들

메소드 설명
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