Model
AttributeMetadataHydrator
Magento\Customer\Model\Metadata\AttributeMetadataHydrator
What it does
This hydrator class converts between array data and AttributeMetadataInterface objects for customer attributes.
Developers use it when they need to transform raw attribute metadata arrays (from database or API) into typed objects, or vice versa, particularly when working with customer attribute configurations, validation rules, and dropdown options.
Public Methods
- hydrate()
- extract()