Model
AttributeMetadataCache
Magento\Customer\Model\Metadata\AttributeMetadataCache
What it does
This class manages caching for customer attribute metadata in Magento 2.
It stores and retrieves attribute configuration data (like validation rules, labels, options) to avoid repeatedly loading this information from the database.
Developers use this class when working with customer attributes to improve performance by reducing database queries for attribute metadata.
Public Methods
- load()
- save()
- clean()
- _resetState()