Validator.php Interfaces, Classes and Traits Validator Class that helps validating settings submitted when creating discounts through the admin panel.