public function resolve(Context
$context): void
{ $shopIdConfig =
(array) $this->systemConfigService->
get(ShopIdProvider::SHOP_ID_SYSTEM_CONFIG_KEY
);
$shopId =
$shopIdConfig['value'
];
$this->systemConfigService->
set(ShopIdProvider::SHOP_ID_SYSTEM_CONFIG_KEY,
[ 'app_url' => EnvironmentHelper::
getVariable('APP_URL'
),
'value' =>
$shopId,
]);
$this->
forEachInstalledApp($context,
function DManifest
$manifest, AppEntity
$app, Context
$context): void
{ $this->
reRegisterApp($manifest,
$app,
$context);
});
}}