<?php declare(strict_types=1);
namespace HemoCheckoutStepper;
use HemoCheckoutStepper\Bootstrap\Installer;
use Shopware\Core\Framework\Plugin;
use Shopware\Core\Framework\Plugin\Context\ActivateContext;
use Shopware\Core\Framework\Plugin\Context\InstallContext;
use Shopware\Core\Framework\Plugin\Context\UpdateContext;
class HemoCheckoutStepper extends Plugin
{
public function install(InstallContext $installContext): void
{
parent::install($installContext);
(new Installer($this->container))->install($installContext);
}
public function activate(ActivateContext $activateContext): void
{
parent::activate($activateContext);
(new Installer($this->container))->activate($activateContext);
}
public function update(UpdateContext $updateContext): void
{
parent::update($updateContext);
(new Installer($this->container))->update($updateContext);
}
}