<?php
namespace Mirasvit\SearchAutocomplete\Model\Result;

/**
 * Interceptor class for @see \Mirasvit\SearchAutocomplete\Model\Result
 */
class Interceptor extends \Mirasvit\SearchAutocomplete\Model\Result implements \Magento\Framework\Interception\InterceptorInterface
{
    use \Magento\Framework\Interception\Interceptor;

    public function __construct(\Mirasvit\SearchAutocomplete\Model\IndexProvider $indexProvider, \Magento\Catalog\Model\Layer\Resolver $layerResolver, \Magento\Search\Model\QueryFactory $queryFactory, \Mirasvit\SearchAutocomplete\Model\ConfigProvider $config, \Magento\Search\Helper\Data $searchHelper, \Magento\Store\Model\StoreManagerInterface $storeManager, \Magento\Framework\Escaper $escaper, \Mirasvit\SearchAutocomplete\Service\ProductListService $productListService)
    {
        $this->___init();
        parent::__construct($indexProvider, $layerResolver, $queryFactory, $config, $searchHelper, $storeManager, $escaper, $productListService);
    }

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