I would like to create a validation rule that uses several input values to determine the result.
As I understand, a model method wouldn't do in this case as it knows only of the one specific attribute being checked at the moment. So I would like to create a validation class.
Which place would be the correct one to place that custom validation class?
Thank you for the answer! I just saw that there is 'validators' folder for the framework, but I didn't have such folder in my auto-generated application structure.