Log in
Model

AddressCachedMetadata

Magento\Customer\Model\Metadata\AddressCachedMetadata

What it does

This class provides cached access to customer address attribute metadata in Magento 2.

It acts as a performance optimization layer by caching address attribute metadata (like street, city, postal code configurations) to avoid repeated database queries.

Developers interact with this class when they need to retrieve address field configurations, validation rules, or attribute properties efficiently.