<?php
namespace Amasty\GdprCookie\Controller\Cookie\Allow;

/**
 * Interceptor class for @see \Amasty\GdprCookie\Controller\Cookie\Allow
 */
class Interceptor extends \Amasty\GdprCookie\Controller\Cookie\Allow implements \Magento\Framework\Interception\InterceptorInterface
{
    use \Magento\Framework\Interception\Interceptor;

    public function __construct(\Amasty\GdprCookie\Model\CookieManager $cookieManager, ?\Magento\Framework\Controller\Result\RawFactory $rawFactory, \Magento\Customer\Model\Session $session, \Amasty\GdprCookie\Model\CookieConsentLogger $consentLogger, ?\Magento\Framework\Data\Form\FormKey\Validator $validator = null, ?\Magento\Framework\App\RequestInterface $request = null, ?\Magento\Framework\Message\ManagerInterface $messageManager = null, ?\Magento\Framework\Controller\ResultFactory $resultFactory = null)
    {
        $this->___init();
        parent::__construct($cookieManager, $rawFactory, $session, $consentLogger, $validator, $request, $messageManager, $resultFactory);
    }

    /**
     * {@inheritdoc}
     */
    public function execute()
    {
        $pluginInfo = $this->pluginList->getNext($this->subjectType, 'execute');
        return $pluginInfo ? $this->___callPlugins('execute', func_get_args(), $pluginInfo) : parent::execute();
    }
}
