<?php
namespace Amasty\Xsearch\Controller\Analytics\Collect;

/**
 * Interceptor class for @see \Amasty\Xsearch\Controller\Analytics\Collect
 */
class Interceptor extends \Amasty\Xsearch\Controller\Analytics\Collect implements \Magento\Framework\Interception\InterceptorInterface
{
    use \Magento\Framework\Interception\Interceptor;

    public function __construct(\Magento\Framework\App\RequestInterface $request, \Amasty\Xsearch\Model\Analytics\AnalyticsDataCollectionProcessor $analyticsDataCollectionProcessor, \Magento\Framework\Controller\ResultFactory $resultFactory)
    {
        $this->___init();
        parent::__construct($request, $analyticsDataCollectionProcessor, $resultFactory);
    }

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