@author Bernhard Schussek <bschussek@gmail.com>
@api
Expanded class hierarchy of ConstraintValidatorInterface
All classes that implement ConstraintValidatorInterface
interface ConstraintValidatorInterface {
/**
* Initializes the constraint validator.
*
* @param ExecutionContextInterface $context The current validation context
*/
public function initialize(ExecutionContextInterface $context);
/**
* Checks if the passed value is valid.
*
* @param mixed $value The value that should be validated
* @param Constraint $constraint The constraint for the validation
*
* @api
*/
public function validate($value, Constraint $constraint);
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ConstraintValidatorInterface:: |
public | function | Initializes the constraint validator. | 1 |
ConstraintValidatorInterface:: |
public | function | Checks if the passed value is valid. | 37 |