if (!
$shopwareEdition->
isCommercial()) { return;
} $licenseUnpackRequest =
new LicenseUnpackRequest( $shopwareEdition->licence,
$shop->host
);
try { $licenseInformation =
$licenseService->
evaluateLicense($licenseUnpackRequest);
$licenseInstaller->
installLicense($licenseInformation);
} catch (RuntimeException
$e) { $this->IOHelper->
writeln('<error>Could not validate license</error>'
);
$this->
askShopwareEdition($shop,
$licenseService,
$licenseInstaller);
} } /**
* @return ShopwareEdition
*/
private function askEdition() {