Smile\ElasticsuiteCatalog\Model\ResourceModel\Product\Indexer\Fulltext\Datasource\AttributeData::getProductTypeInstance PHP Метод

getProductTypeInstance() защищенный Метод

Retrieve product type instance from identifier.
protected getProductTypeInstance ( string $typeId ) : Magento\Catalog\Model\Product\Type\AbstractType
$typeId string Type identifier.
Результат Magento\Catalog\Model\Product\Type\AbstractType
    protected function getProductTypeInstance($typeId)
    {
        if (!isset($this->productTypes[$typeId])) {
            $productEmulator = $this->getProductEmulator($typeId);
            $this->productTypes[$typeId] = $this->catalogProductType->factory($productEmulator);
        }
        return $this->productTypes[$typeId];
    }