Log in
Model

AttributeMetadataConverter

Magento\Customer\Model\AttributeMetadataConverter

What it does

This converter class transforms Magento customer attribute models into API-compatible AttributeMetadata data transfer objects.

Developers use this when they need to expose customer or address attribute information through Magento's API layer, converting EAV attributes with their options, validation rules, and configuration into standardized data objects for external consumption.

Public Methods

  • createMetadataAttribute()