$domains =
$this->
getLicenseDomains($context);
$existing =
$domains->
get($domain);
} if (!
$existing || !
$existing->
isVerified()) { throw new LicenseDomainVerificationException($domain);
} $existing->
assign(['active' => true
]);
$this->configService->
set(StoreService::CONFIG_KEY_STORE_LICENSE_DOMAIN,
$domain);
$this->configService->
set(StoreService::CONFIG_KEY_STORE_LICENSE_EDITION,
$existing->
getEdition());
return $existing;
} private function setFrwStatus(FrwState
$newState): void
{ $currentState =
$this->
getFrwState();
$completedAt = null;
$failedAt = null;
$failureCount = null;