Log in
Model

Customer

Magento\Customer\Model\Address\Validator\Customer

What it does

This validator ensures that a customer address being saved or updated belongs to the correct customer.

It prevents unauthorized access or modification of addresses by checking if the address's customer ID matches the original address owner.

Developers use this during address operations to maintain data integrity and security in customer address management.

Public Methods

  • validate()