<?php declare(strict_types=1);
namespace Cogi\CogiAdvancedDeliveryDate;
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;
use Shopware\Core\Framework\Plugin\Context\UpdateContext;
class CogiAdvancedDeliveryDate extends Plugin {
public function install(InstallContext $context): void {
}
public function update(UpdateContext $context): void {
parent::update($context);
}
public function activate(ActivateContext $context): void {
// your code you need to execute while your plugin gets activated
}
public function deactivate(DeactivateContext $context): void {
// your code you need to run while your plugin gets deactivated
}
public function uninstall(UninstallContext $context): void {
}
}