Doctrine\DBAL\Migrations\Tools\Console\Command\AbstractCommand::getMigrationConfiguration PHP Method

getMigrationConfiguration() protected method

If no (config) option is passed the migrationConfiguration property is set to the value of the configuration one (if any). Else a new configuration is created and assigned to the migrationConfiguration property.
protected getMigrationConfiguration ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : Configuration
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
return Doctrine\DBAL\Migrations\Configuration\Configuration
    protected function getMigrationConfiguration(InputInterface $input, OutputInterface $output)
    {
        if (!$this->migrationConfiguration) {
            if ($this->getHelperSet()->has('configuration') && $this->getHelperSet()->get('configuration') instanceof ConfigurationHelper) {
                $configHelper = $this->getHelperSet()->get('configuration');
            } else {
                $configHelper = new ConfigurationHelper($this->getConnection($input), $this->configuration);
            }
            $this->migrationConfiguration = $configHelper->getMigrationConfig($input, $this->getOutputWriter($output));
        }
        return $this->migrationConfiguration;
    }