<?php
namespace Mirasvit\Search\Index\External\Wordpress\Post\BatchDataMapper;

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

    public function __construct(\Mirasvit\Search\Index\Context $context)
    {
        $this->___init();
        parent::__construct($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);
    }
}
