public function __construct( private readonly RecoveryManager
$recoveryManager,
private readonly StreamedCommandResponseGenerator
$streamedCommandResponseGenerator,
private readonly ReleaseInfoProvider
$releaseInfoProvider ) { } #[Route('/install', name: 'install', defaults: ['step' => 2])]
public function index(): Response
{ $versions =
$this->releaseInfoProvider->
fetchVersions();
return $this->
render('install.html.twig',
[ 'versions' =>
$versions,
]);
} #[Route('/install/_run', name: 'install_run', methods: ['POST'])]
public function run(Request
$request): StreamedResponse
{ $shopwareVersion =
$request->query->
get('shopwareVersion', ''
);
$folder =
$this->recoveryManager->
getProjectDir();