Smile\ElasticsuiteCatalog\Model\ResourceModel\Product\Indexer\Fulltext\Datasource\AttributeData::__construct PHP Method

__construct() public method

Constructor.
public __construct ( Magento\Framework\App\ResourceConnection $resource, Magento\Store\Model\StoreManagerInterface $storeManager, Magento\Framework\EntityManager\MetadataPool $metadataPool, Magento\Catalog\Model\Product\Type $catalogProductType, string $entityType = ProductInterface::class )
$resource Magento\Framework\App\ResourceConnection Database adpater.
$storeManager Magento\Store\Model\StoreManagerInterface Store manager.
$metadataPool Magento\Framework\EntityManager\MetadataPool Metadata Pool.
$catalogProductType Magento\Catalog\Model\Product\Type Product type.
$entityType string Product entity type.
    public function __construct(ResourceConnection $resource, StoreManagerInterface $storeManager, MetadataPool $metadataPool, ProductType $catalogProductType, $entityType = ProductInterface::class)
    {
        parent::__construct($resource, $storeManager, $metadataPool, $entityType);
        $this->catalogProductType = $catalogProductType;
    }