Smile\ElasticsuiteCore\Indexer\GenericIndexerHandler::__construct PHP Method

__construct() public method

Cosntructor
public __construct ( Smile\ElasticsuiteCore\Api\Index\IndexOperationInterface $indexOperation, Cache $cacheHelper, Magento\Framework\Indexer\SaveHandler\Batch $batch, string $indexName, string $typeName )
$indexOperation Smile\ElasticsuiteCore\Api\Index\IndexOperationInterface Index operation service.
$cacheHelper Smile\ElasticsuiteCore\Helper\Cache Index caching helper.
$batch Magento\Framework\Indexer\SaveHandler\Batch Batch handler.
$indexName string The index name.
$typeName string The type name.
    public function __construct(IndexOperationInterface $indexOperation, CacheHelper $cacheHelper, Batch $batch, $indexName, $typeName)
    {
        $this->indexOperation = $indexOperation;
        $this->batchSize = $indexOperation->getBatchIndexingSize();
        $this->batch = $batch;
        $this->indexName = $indexName;
        $this->typeName = $typeName;
        $this->cacheHelper = $cacheHelper;
    }