$manifests[$app] =
$manifest;
} } } return $manifests;
} private function checkPermissions(Manifest
$manifest, ShopwareStyle
$io): void
{ if ($manifest->
getPermissions()) { $this->appPrinter->
printPermissions($manifest,
$io, true
);
if (!
$io->
confirm( sprintf('Do you want to grant these permissions for app "%s"?',
$manifest->
getMetadata()->
getName()),
false
)) { throw new UserAbortedCommandException();
} } }}