Model
Customer
Magento\Customer\Model\Address\Validator\Customer
What it does
This validator ensures that a customer address belongs to the correct customer by verifying the customer ID matches the original address owner.
Developers use this during address updates or assignments to prevent unauthorized address modifications or cross-customer address conflicts, particularly important in multi-customer scenarios where address IDs might be reused or manipulated.
Public Methods
- validate()