Log in
Model

Reader

Magento\Catalog\Model\ProductTypes\Config\Reader

What it does

This class reads and parses the product_types.xml configuration files from various Magento 2 modules.

Developers use this when they need to define or extend product types (like simple, configurable, bundle) and their associated models such as price models, indexers, and stock indexers.

It handles merging configuration from multiple modules based on specific XML node attributes.