<?php
namespace Amasty\Promo\Block\Items;

/**
 * Interceptor class for @see \Amasty\Promo\Block\Items
 */
class Interceptor extends \Amasty\Promo\Block\Items implements \Magento\Framework\Interception\InterceptorInterface
{
    use \Magento\Framework\Interception\Interceptor;

    public function __construct(\Magento\Framework\View\Element\Template\Context $context, \Amasty\Promo\Helper\Data $promoHelper, \Magento\Catalog\Helper\Image $helperImage, \Magento\Framework\Url\Helper\Data $urlHelper, ?\Magento\Catalog\Api\ProductRepositoryInterface $productRepository, \Magento\Catalog\Block\Product\View $productView, \Magento\Framework\Registry $registry, \Magento\Store\Model\Store $store, \Magento\Catalog\Helper\Data $catalogHelper, \Magento\Framework\Json\EncoderInterface $jsonEncoder, ?\Magento\Framework\Pricing\PriceCurrencyInterface $priceCurrency, \Amasty\Promo\Model\Config $modelConfig, \Magento\Framework\App\ProductMetadataInterface $productMetadata, \Magento\Framework\Json\DecoderInterface $jsonDecoder, array $data = [], ?\Magento\Checkout\Model\Session $checkoutSession = null, ?\Amasty\Promo\Model\ProductStorage $productStorage = null)
    {
        $this->___init();
        parent::__construct($context, $promoHelper, $helperImage, $urlHelper, $productRepository, $productView, $registry, $store, $catalogHelper, $jsonEncoder, $priceCurrency, $modelConfig, $productMetadata, $jsonDecoder, $data, $checkoutSession, $productStorage);
    }

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

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