<?php declare(strict_types=1);
namespace CityNotificationV2;
use Shopware\Core\Framework\Plugin;
use Shopware\Core\Framework\Plugin\Context\InstallContext;
use Shopware\Core\Framework\Plugin\Context\UninstallContext;
class CityNotificationV2 extends Plugin
{
public function install(InstallContext $context): void
{
parent::install($context);
// Plugin installation logic will be handled by migrations
}
public function uninstall(UninstallContext $context): void
{
parent::uninstall($context);
if ($context->keepUserData()) {
return;
}
// Cleanup logic if needed
}
}