Trac
Doctrine Validator API should be refactored. Here are the guidelines:
1. Each Validator class should be self-contained. Those shouldn't have any dependencies.
2. The main validator class should be made more lightweight. Performance should be kept in mind at all times.
3. Each validator class should have method called validate() with only the logical arguments. Currently all the validate() methods take for example the invoker Record as an argument. This behaviour should be changed. The Invoker Record the validated field and such should be availible through getters and setters.