Log in
Factory

Options\Factory

Magento\ConfigurableProduct\Helper\Product\Options\Factory

What it does

This factory class creates configurable product option objects from attribute data arrays.

Developers use it when programmatically creating or updating configurable products to convert raw attribute data into properly formatted option objects with their associated values, ensuring attributes are valid for configurable products.

Public Methods

  • create()