This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/Validator
John Wards d96e2c5d79 [Validator] Adding support for Closure in CallbackValidator
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
    }
))));
2011-05-10 12:12:18 +01:00
..
Constraints [Validator] Adding support for Closure in CallbackValidator 2011-05-10 12:12:18 +01:00
Exception replaced symfony-project.org by symfony.com 2011-03-06 12:40:06 +01:00
Mapping [Validator] switched to apc_exists() 2011-04-06 04:12:29 -07:00
Constraint.php [Validator] fixed CS 2011-03-31 14:02:00 +02:00
ConstraintValidator.php replaced symfony-project.org by symfony.com 2011-03-06 12:40:06 +01:00
ConstraintValidatorFactory.php replaced symfony-project.org by symfony.com 2011-03-06 12:40:06 +01:00
ConstraintValidatorFactoryInterface.php replaced symfony-project.org by symfony.com 2011-03-06 12:40:06 +01:00
ConstraintValidatorInterface.php replaced symfony-project.org by symfony.com 2011-03-06 12:40:06 +01:00
ConstraintViolation.php replaced symfony-project.org by symfony.com 2011-03-06 12:40:06 +01:00
ConstraintViolationList.php [Validator] Updated ContraintViolationList ArrayAccess setter to check equivalence to null instead of using is_null 2011-03-30 08:43:05 +01:00
ExecutionContext.php replaced symfony-project.org by symfony.com 2011-03-06 12:40:06 +01:00
GraphWalker.php [Phpdoc] Cleaning/fixing 2011-04-23 15:18:47 +00:00
LICENSE added LICENSE files for the subtree repositories 2011-02-22 18:58:15 +01:00
Validator.php [Form] Reorganized code into "form extensions" 2011-04-22 17:41:21 +02:00
ValidatorContext.php [Validator] renamed method to follow CS 2011-03-30 23:10:30 +02:00
ValidatorContextInterface.php [Phpdoc] Cleaning/fixing 2011-04-23 15:18:47 +00:00
ValidatorFactory.php capitalized 'boolean' 2011-04-27 02:35:10 -03:00
ValidatorInterface.php [Phpdoc] Cleaning/fixing 2011-04-23 15:18:47 +00:00