privatefunctiongrantPermissions(RefreshableAppDryRun $refreshableApps, ShopwareStyle $io): void { if(!$io->confirm( sprintf( "%d apps will be installed, %d apps will be updated and %d apps will be deleted.\nDo you want to continue?", \count($refreshableApps->getToBeInstalled()), \count($refreshableApps->getToBeUpdated()), \count($refreshableApps->getToBeDeleted()) ) )){ thrownewUserAbortedCommandException(); }