Log in
Model

Relation

Magento\Customer\Model\ResourceModel\Address\Relation

What it does

This class manages the relationship between customer addresses and their parent customer entity, specifically handling default billing and shipping address assignments.

When a customer address is saved, this class automatically updates the customer's default address references in the database and keeps the customer registry synchronized.

Developers typically don't interact with this class directly as it's triggered automatically by Magento's resource model system during address save operations.

Public Methods

  • processRelation()