Log in
Model

AttributePersistor

Magento\Catalog\Model\ResourceModel\AttributePersistor

What it does

This class handles the persistence (saving and updating) of catalog-specific EAV attributes in the database, extending Magento's base attribute persistence functionality.

Developers would use this when programmatically saving product or category attributes, as it properly handles catalog-specific scope logic including website-level attribute scoping.

It ensures attribute values are saved correctly based on their scope (global, website, or store view).