'pdo_sqlite', 'memory' => true); return DriverManager::getConnection($params); } /** * @return \Doctrine\DBAL\Migrations\Configuration\Configuration */ public function getSqliteConfiguration() { $config = new \Doctrine\DBAL\Migrations\Configuration\Configuration($this->getSqliteConnection()); $config->setMigrationsDirectory(\sys_get_temp_dir()); $config->setMigrationsNamespace('DoctrineMigrations'); return $config; } }