#[Route(path: '/installer/database-import', name: 'installer.database-import', methods: ['GET'])]
public function databaseImport(Request
$request): Response
{ $session =
$request->
getSession();
$connectionInfo =
$session->
get(DatabaseConnectionInformation::
class);
if (!
$connectionInfo) { return $this->
redirectToRoute('installer.database-configuration'
);
} return $this->
renderInstaller( '@Installer/installer/database-import.html.twig',
[ 'error' => null,
'supportedLanguages' =>
[], // overwrite language switch, so import can't be aborted due do language switch
] );
} #[Route(path: '/installer/database-migrate', name: 'installer.database-migrate', methods: ['POST'])]
public function databaseMigrate(Request
$request): JsonResponse
{