<?php
namespace Mirasvit\Search\Index\Magento\Catalog\Product\BatchDataMapper;

/**
 * Interceptor class for @see \Mirasvit\Search\Index\Magento\Catalog\Product\BatchDataMapper
 */
class Interceptor extends \Mirasvit\Search\Index\Magento\Catalog\Product\BatchDataMapper implements \Magento\Framework\Interception\InterceptorInterface
{
    use \Magento\Framework\Interception\Interceptor;

    public function __construct(\Magento\Elasticsearch\Model\Adapter\BatchDataMapper\ProductDataMapper $productDataMapper, \Magento\Eav\Model\Entity $eavEntity, \Magento\Catalog\Model\ResourceModel\Eav\Attribute $attribute, \Mirasvit\Search\Api\Data\QueryConfigProviderInterface $configProvider, \Magento\Catalog\Model\ResourceModel\Product\Attribute\CollectionFactory $collectionFactory, \Mirasvit\Search\Service\MapperService $mapperService, \Mirasvit\Search\Index\Context $context)
    {
        $this->___init();
        parent::__construct($productDataMapper, $eavEntity, $attribute, $configProvider, $collectionFactory, $mapperService, $context);
    }

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