PHP 클래스 Doctrine\DBAL\Migrations\Tools\Console\Command\MigrateCommand

부터: 2.0
저자: Jonathan Wage ([email protected])
상속: extends AbstractCommand
파일 보기 프로젝트 열기: doctrine/migrations 1 사용 예제들

공개 메소드들

메소드 설명
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )

보호된 메소드들

메소드 설명
configure ( )
createMigration ( Configuration $configuration ) : Migration Create a new migration instance to execute the migrations.

비공개 메소드들

메소드 설명
canExecute ( string $question, Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : boolean
getVersionNameFromAlias ( string $versionAlias, Symfony\Component\Console\Output\OutputInterface $output, Configuration $configuration ) : boolean | string

메소드 상세

configure() 보호된 메소드

protected configure ( )

createMigration() 보호된 메소드

Create a new migration instance to execute the migrations.
protected createMigration ( Configuration $configuration ) : Migration
$configuration Doctrine\DBAL\Migrations\Configuration\Configuration The configuration with which the migrations will be executed
리턴 Doctrine\DBAL\Migrations\Migration a new migration instance

execute() 공개 메소드

public execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface