PHP Class Smile\ElasticsuiteCatalog\Model\Product\Indexer\Fulltext\Datasource\CategoryData

Author: Aurelien FOUCRET ([email protected])
Inheritance: implements Smile\ElasticsuiteCore\Api\Index\DatasourceInterface
Mostra file Open project: smile-sa/elasticsuite

Public Methods

Method Description
__construct ( CategoryData $resourceModel ) Constructor.
addData ( $storeId, array $indexData ) Add categories data to the index data.

Method Details

__construct() public method

Constructor.
public __construct ( CategoryData $resourceModel )
$resourceModel Smile\ElasticsuiteCatalog\Model\ResourceModel\Product\Indexer\Fulltext\Datasource\CategoryData Resource model.

addData() public method

public addData ( $storeId, array $indexData )
$indexData array