<?php
namespace Amasty\ElasticSearch\Model\ResourceModel\StopWord\Grid;

/**
 * Interceptor class for @see \Amasty\ElasticSearch\Model\ResourceModel\StopWord\Grid
 */
class Interceptor extends \Amasty\ElasticSearch\Model\ResourceModel\StopWord\Grid implements \Magento\Framework\Interception\InterceptorInterface
{
    use \Magento\Framework\Interception\Interceptor;

    public function __construct(\Magento\Framework\Data\Collection\EntityFactoryInterface $entityFactory, \Psr\Log\LoggerInterface $logger, \Magento\Framework\Data\Collection\Db\FetchStrategyInterface $fetchStrategy, \Magento\Framework\Event\ManagerInterface $eventManager, $mainTable = 'amasty_elastic_stop_word', $resourceModel = 'Amasty\\ElasticSearch\\Model\\ResourceModel\\StopWord')
    {
        $this->___init();
        parent::__construct($entityFactory, $logger, $fetchStrategy, $eventManager, $mainTable, $resourceModel);
    }

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