Martin Hason
345981f6b6
[Validator] added support for plural messages
2012-02-09 07:57:17 +01:00
Bernhard Schussek
2e4ebe444f
[Validator] Renamed methods addViolationAtRelativePath() and getAbsolutePropertyPath() in ExecutionContext
2012-02-02 10:13:41 +01:00
Bernhard Schussek
9153f0e569
[Validator] Deprecated ConstraintValidator methods setMessage(), getMessageTemplate() and getMessageParameters()
...
Had to refactor the validation tests at the same time and fixed various small bugs while doing so.
2012-02-01 14:03:13 +01:00
Bernhard Schussek
a30a679135
[Validator] Made ExecutionContext immutable and introduced new class GlobalExecutionContext
...
A new ExecutionContext is now created everytime that GraphWalker::walkConstraint() is
launched. Because of this, a validator B launched from within a validator A can't break
A anymore by changing the context.
Because we have a new ExecutionContext for every constraint validation, there is no point
in modifying its state anymore. Because of this it is now immutable.
2012-01-31 21:35:48 +01:00
Bernhard Schussek
fe85bbdb06
[Validator] Simplified ExecutionContext::addViolation(), added ExecutionContext::addViolationAt()
2012-01-31 18:42:14 +01:00
Fabien Potencier
b36c002fa4
[Validator] tagged the public @api
2011-07-20 10:37:57 +02:00
Fabien Potencier
1aabc5da64
fixed CS
2011-06-08 12:16:48 +02:00
Fabien Potencier
8c423edfef
replaced symfony-project.org by symfony.com
2011-03-06 12:40:06 +01:00
Bernhard Schussek
89dbb04c63
[Validator] Made method name shorter
2011-02-16 23:05:22 +01:00
Bernhard Schussek
6ad22fd702
[Validator] Added ValidatorFactory for programmatically creating validators
2011-01-19 16:25:50 +01:00