<?php
namespace Magento\Catalog\Block\Category\View;

/**
 * Interceptor class for @see \Magento\Catalog\Block\Category\View
 */
class Interceptor extends \Magento\Catalog\Block\Category\View implements \Magento\Framework\Interception\InterceptorInterface
{
    use \Magento\Framework\Interception\Interceptor;

    public function __construct(\Magento\Framework\View\Element\Template\Context $context, \Magento\Catalog\Model\Layer\Resolver $layerResolver, \Magento\Framework\Registry $registry, \Magento\Catalog\Helper\Category $categoryHelper, array $data = [], ?\Magento\Catalog\Helper\Data $catalogData = null)
    {
        $this->___init();
        parent::__construct($context, $layerResolver, $registry, $categoryHelper, $data, $catalogData);
    }

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

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

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

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