<?php
namespace Autogedal\Extend\Block\Widget\ProductCompatibility;

/**
 * Interceptor class for @see \Autogedal\Extend\Block\Widget\ProductCompatibility
 */
class Interceptor extends \Autogedal\Extend\Block\Widget\ProductCompatibility implements \Magento\Framework\Interception\InterceptorInterface
{
    use \Magento\Framework\Interception\Interceptor;

    public function __construct(\Magento\Framework\View\Element\Template\Context $context, \Magento\Catalog\Model\CategoryRepository $categoryRepository, \Magento\Catalog\Model\ResourceModel\Product\CollectionFactory $productCollectionFactory, \Autogedal\Extend\ViewModel\ProductCompatibility $viewModel, \Magento\Catalog\Model\Layer\Category $categoryLayer, \Magento\Catalog\Model\Product\Attribute\Repository $attributeRepository, array $data = [])
    {
        $this->___init();
        parent::__construct($context, $categoryRepository, $productCollectionFactory, $viewModel, $categoryLayer, $attributeRepository, $data);
    }

    /**
     * {@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);
    }
}
