PHP Class Smile\ElasticsuiteCatalog\Model\ResourceModel\Eav\Indexer\Indexer

Author: Aurelien FOUCRET ([email protected])
Author: Fanny DECLERCK ([email protected])
Inheritance: extends Smile\ElasticsuiteCore\Model\ResourceModel\Indexer\AbstractIndexer
ファイルを表示 Open project: smile-sa/elasticsuite Class Usage Examples

Protected Properties

Property Type Description
$storeManager Magento\Store\Model\StoreManagerInterface

Public Methods

Method Description
__construct ( Magento\Framework\App\ResourceConnection $resource, Magento\Store\Model\StoreManagerInterface $storeManager, Magento\Framework\EntityManager\MetadataPool $metadataPool ) Indexer constructor.

Protected Methods

Method Description
getEntityMetaData ( string $entityType ) : Magento\Framework\EntityManager\EntityMetadataInterface Retrieve Metadata for an entity
getRootCategoryId ( Magento\Store\Api\Data\StoreInterface | integer | string $store ) : integer Retrieve store root category id.

Method Details

__construct() public method

Indexer constructor.
public __construct ( Magento\Framework\App\ResourceConnection $resource, Magento\Store\Model\StoreManagerInterface $storeManager, Magento\Framework\EntityManager\MetadataPool $metadataPool )
$resource Magento\Framework\App\ResourceConnection Resource Connection
$storeManager Magento\Store\Model\StoreManagerInterface Store Manager
$metadataPool Magento\Framework\EntityManager\MetadataPool Metadata Pool

getEntityMetaData() protected method

Retrieve Metadata for an entity
protected getEntityMetaData ( string $entityType ) : Magento\Framework\EntityManager\EntityMetadataInterface
$entityType string The entity
return Magento\Framework\EntityManager\EntityMetadataInterface

getRootCategoryId() protected method

Retrieve store root category id.
protected getRootCategoryId ( Magento\Store\Api\Data\StoreInterface | integer | string $store ) : integer
$store Magento\Store\Api\Data\StoreInterface | integer | string Store id.
return integer

Property Details

$storeManager protected_oe property

protected StoreManagerInterface,Magento\Store\Model $storeManager
return Magento\Store\Model\StoreManagerInterface