Log in
Model

Converter

Magento\CatalogRule\Model\Data\Condition\Converter

What it does

This class converts catalog rule conditions between data model objects and array representations.

Developers use it when working with the Catalog Rule API to transform condition objects into arrays for storage or vice versa when loading rule conditions from the database.

Public Methods

  • dataModelToArray()
  • arrayToDataModel()