Log in
Model

AttributeResolver

Magento\Customer\Model\Metadata\AttributeResolver

What it does

This class resolves and retrieves the full attribute model for a given customer or customer address attribute.

Developers use it to convert an AttributeMetadataInterface data object into a complete Attribute model instance, which is needed when working with EAV attributes and requiring access to the full model functionality beyond just metadata.

Public Methods

  • getModelByAttribute()