<?php declare(strict_types=1);
namespace Staw\Cdn;
use Shopware\Core\Framework\Plugin;
use Shopware\Core\Framework\Plugin\Context\ActivateContext;
use Shopware\Core\Framework\Plugin\Context\DeactivateContext;
use Shopware\Core\Framework\Plugin\Context\InstallContext;
use Shopware\Core\Framework\Plugin\Context\UninstallContext;
class StawCdn extends Plugin
{
public function install(InstallContext $installContext): void
{
parent::install($installContext);
}
public function uninstall(UninstallContext $context): void
{
//Keep UserData? Then do nothing here
if ($context->keepUserData()) {
return;
}
}
public function activate(ActivateContext $context): void
{
parent::activate($context);
}
public function deactivate(DeactivateContext $context): void
{
parent::deactivate($context);
}
}