PHP Class Doctrine\DBAL\Migrations\Tools\Console\Command\MigrateCommand

Since: 2.0
Author: Jonathan Wage ([email protected])
Inheritance: extends AbstractCommand
Afficher le fichier Open project: doctrine/migrations Class Usage Examples

Méthodes publiques

Méthode Description
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )

Méthodes protégées

Méthode Description
configure ( )
createMigration ( Configuration $configuration ) : Migration Create a new migration instance to execute the migrations.

Private Methods

Méthode Description
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

Method Details

configure() protected méthode

protected configure ( )

createMigration() protected méthode

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
Résultat Doctrine\DBAL\Migrations\Migration a new migration instance

execute() public méthode

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