Log in
Model

Pool

Magento\Catalog\Model\Product\Type\Pool

What it does

This class acts as a factory pool for creating product type instances in Magento 2.

Developers use it to retrieve specific product type objects (simple, configurable, bundle, etc.) by their class name, ensuring all returned instances properly extend the AbstractType base class.

It's primarily used internally by Magento's catalog system when working with different product types.

Public Methods

  • get()