I had:
- in a class implementing Validator:
- an $errormessages property
- an isCorrect() method
- in Validator:
- an $errormessages property
- in an EmailValidator class extending Validator:
- an isCorrect() method
- in a PasswordValidator class extending Validator:
- an isCorrect() method
- in a XValidator class extending Validator:
- an isCorrect() method