Property | Type | Description | |
---|---|---|---|
$storeManager | Magento\Store\Model\StoreManagerInterface |
Method | Description | |
---|---|---|
__construct ( Magento\Framework\App\ResourceConnection $resource, Magento\Store\Model\StoreManagerInterface $storeManager, Magento\Framework\EntityManager\MetadataPool $metadataPool ) | Indexer constructor. |
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. |
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 |
protected getEntityMetaData ( string $entityType ) : Magento\Framework\EntityManager\EntityMetadataInterface | ||
$entityType | string | The entity |
return | Magento\Framework\EntityManager\EntityMetadataInterface |