private function unpackLicense($licenseString) { $repository =
$this->container->
get(ModelManager::
class)->
getRepository(Shop::
class);
$host =
(string) $repository->
getActiveDefault()->
getHost();
$request =
new LicenseUnpackRequest($licenseString,
$host);
/** @var LicenseInformation $licenseData */
$licenseData =
$this->container->
get(LocalLicenseUnpackService::
class)->
evaluateLicense($request);
return $licenseData;
} /**
* Deletes the current Core License from db
*
* @throws RuntimeException
*/