Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Jul 15, 2012
  1. @danielholmes
Commits on Apr 17, 2012
  1. @webmozart

    [Validator] Renamed ConstraintValidatorInterface::isValid() to valida…

    webmozart authored
    …te() because of the lack of a return value
  2. @webmozart
Commits on Feb 1, 2012
  1. @webmozart

    [Validator] Deprecated ConstraintValidator methods setMessage(), getM…

    webmozart authored
    …essageTemplate() and getMessageParameters()
    Had to refactor the validation tests at the same time and fixed various small bugs while doing so.
Commits on Jan 31, 2012
  1. @webmozart

    [Validator] Made ExecutionContext immutable and introduced new class …

    webmozart authored
    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.
Commits on Dec 13, 2011
  1. @fabpot

    [DoctrineBridge] fixed some CS

    fabpot authored
Commits on Aug 10, 2011
  1. @hhamon

    [Validator] fixed phpdoc.

    hhamon authored
Commits on Jul 20, 2011
  1. @fabpot
Commits on May 10, 2011
  1. @johnwards

    [Validator] Adding support for Closure in CallbackValidator

    johnwards authored
    $formBuilder = $this->get('form.factory')
    $formBuilder->setAttribute('validation_constraint', new Callback(array("methods"=>array(
        'validate' => function ($data, $context) use ($elements) {
           // logic to add violations depending on the elements
Commits on Mar 25, 2011
  1. @webmozart
  2. @webmozart
Something went wrong with that request. Please try again.