<?php
namespace Magento\Catalog\Block\Product\ProductList\Toolbar;

/**
 * Interceptor class for @see \Magento\Catalog\Block\Product\ProductList\Toolbar
 */
class Interceptor extends \Magento\Catalog\Block\Product\ProductList\Toolbar implements \Magento\Framework\Interception\InterceptorInterface
{
    use \Magento\Framework\Interception\Interceptor;

    public function __construct(\Magento\Framework\View\Element\Template\Context $context, \Magento\Catalog\Model\Session $catalogSession, \Magento\Catalog\Model\Config $catalogConfig, \Magento\Catalog\Model\Product\ProductList\Toolbar $toolbarModel, \Magento\Framework\Url\EncoderInterface $urlEncoder, \Magento\Catalog\Helper\Product\ProductList $productListHelper, \Magento\Framework\Data\Helper\PostHelper $postDataHelper, array $data = [], ?\Magento\Catalog\Model\Product\ProductList\ToolbarMemorizer $toolbarMemorizer = null, ?\Magento\Framework\App\Http\Context $httpContext = null, ?\Magento\Framework\Data\Form\FormKey $formKey = null)
    {
        $this->___init();
        parent::__construct($context, $catalogSession, $catalogConfig, $toolbarModel, $urlEncoder, $productListHelper, $postDataHelper, $data, $toolbarMemorizer, $httpContext, $formKey);
    }

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

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

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

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