d96e2c5d79
Usage: $formBuilder = $this->get('form.factory') ->createBuilder('form'); $formBuilder->setAttribute('validation_constraint', new Callback(array("methods"=>array( 'validate' => function ($data, $context) use ($elements) { // logic to add violations depending on the elements } )))); |
||
---|---|---|
.. | ||
Constraints | ||
Exception | ||
Mapping | ||
Constraint.php | ||
ConstraintValidator.php | ||
ConstraintValidatorFactory.php | ||
ConstraintValidatorFactoryInterface.php | ||
ConstraintValidatorInterface.php | ||
ConstraintViolation.php | ||
ConstraintViolationList.php | ||
ExecutionContext.php | ||
GraphWalker.php | ||
LICENSE | ||
Validator.php | ||
ValidatorContext.php | ||
ValidatorContextInterface.php | ||
ValidatorFactory.php | ||
ValidatorInterface.php |