'upgradeVersion' => null,
'upgradedAt' =>
$updateDate->
format(Defaults::STORAGE_DATE_TIME_FORMAT
),
],
$shopwareContext );
$plugin->
setVersion($updateVersion);
$plugin->
setUpgradeVersion(null
);
$plugin->
setUpgradedAt($updateDate);
$pluginBaseClass->
postUpdate($updateContext);
$this->eventDispatcher->
dispatch(new PluginPostUpdateEvent($plugin,
$updateContext));
return $updateContext;
} /**
* @throws PluginNotInstalledException
*/
public function activatePlugin(PluginEntity
$plugin, Context
$shopwareContext, bool
$reactivate = false
): ActivateContext
{ if ($plugin->
getInstalledAt() === null
) { throw new PluginNotInstalledException($plugin->
getName());
}