<?php
namespace Amasty\Xsearch\Plugin\CatalogSearch\Block\Result\ChangeNoResultText;

/**
 * Interceptor class for @see \Amasty\Xsearch\Plugin\CatalogSearch\Block\Result\ChangeNoResultText
 */
class Interceptor extends \Amasty\Xsearch\Plugin\CatalogSearch\Block\Result\ChangeNoResultText implements \Magento\Framework\Interception\InterceptorInterface
{
    use \Magento\Framework\Interception\Interceptor;

    public function __construct(\Magento\Search\Model\QueryFactory $queryFactory)
    {
        $this->___init();
        parent::__construct($queryFactory);
    }

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