Model
ValidationResults
Magento\Customer\Model\Data\ValidationResults
What it does
This class represents the result of a validation operation in Magento 2's Customer module.
Developers use it to check if customer data passed validation and retrieve any error messages that occurred during the validation process.
It's commonly returned by validation services to communicate whether data is valid and what specific issues were found.
Public Methods
- isValid()
- getMessages()
- setIsValid()
- setMessages()