custom/plugins/AsbsFlourVoucherInterface/src/AsbsFlourVoucherInterface.php line 9

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace Asbs\FlourVoucherInterface;
  3. use Shopware\Core\Framework\Plugin;
  4. use Shopware\Core\Framework\Plugin\Context\InstallContext;
  5. use Shopware\Core\Framework\Plugin\Context\UninstallContext;
  6. class AsbsFlourVoucherInterface extends Plugin
  7. {
  8.     public function install(InstallContext $context): void
  9.     {
  10.         parent::install($context);
  11.     }
  12.     public function uninstall(UninstallContext $context): void
  13.     {
  14.         parent::uninstall($context);
  15.         if ($context->keepUserData()) {
  16.             return;
  17.         }
  18.     }
  19. }