DeleteRelation
Magento\Customer\Model\ResourceModel\Address\DeleteRelation
What it does
This class handles the cleanup of default billing and shipping address references when a customer address is deleted.
It ensures that if a deleted address was set as the customer's default billing or shipping address, those references are cleared from the customer record to maintain data integrity.
Developers typically don't call this directly as it's automatically triggered during the address deletion process.
Public Methods
- deleteRelation()