Method | Description | |
---|---|---|
setMigrationConfiguration ( |
Method | Description | |
---|---|---|
askConfirmation ( $question, Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : mixed | This method ensure that we stay compatible with symfony console 2.3 by using the deprecated dialog helper but use the ConfirmationQuestion when available. | |
configure ( ) | ||
getMigrationConfiguration ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : |
When any (config) command line option is passed to the migration the migrationConfiguration property is set with the new generated configuration. | |
outputHeader ( |
Method | Description | |
---|---|---|
getConnection ( Symfony\Component\Console\Input\InputInterface $input ) : Doctrine\DBAL\Connection | ||
getOutputWriter ( Symfony\Component\Console\Output\OutputInterface $output ) : Doctrine\DBAL\Migrations\OutputWriter |
protected askConfirmation ( $question, Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : mixed | ||
$question | ||
$input | Symfony\Component\Console\Input\InputInterface | |
$output | Symfony\Component\Console\Output\OutputInterface | |
return | mixed |
protected getMigrationConfiguration ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : |
||
$input | Symfony\Component\Console\Input\InputInterface | |
$output | Symfony\Component\Console\Output\OutputInterface | |
return |
protected outputHeader ( |
||
$configuration | ||
$output | Symfony\Component\Console\Output\OutputInterface |
public setMigrationConfiguration ( |
||
$config |