Model
UniqueValidator
Magento\Eav\Model\Entity\Attribute\UniqueValidator
What it does
This class validates whether an EAV attribute value is unique across entities.
Developers use this validator to ensure that attributes marked as unique (like email addresses or SKUs) don't have duplicate values when saving or updating entities in the database.
Public Methods
- validate()