symfony/symfony — pull request #6117 by fago (2012-11-26 15:00:35+00:00)
Title: Ease overriding the ValidationVisitor and ConstraintViolation classes.

Bug fix: no
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: -
Fixes the following tickets: -
Todo: -
License of the code: MIT
Documentation PR: -

Making this few variables protected would ease using a custom ConstraintVioloation class a lot. We need to do so to plug our translation system into the violation class' getMessage() method.

Relevant Drupal issues: http://drupal.org/node/1849564, http://drupal.org/node/1845546