public function ConstraintValidatorInterface::validate in Plug 7
Checks if the passed value is valid.
@api
Parameters
mixed $value The value that should be validated:
Constraint $constraint The constraint for the validation:
35 methods override ConstraintValidatorInterface::validate()
- AbstractComparisonValidator::validate in lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Constraints/ AbstractComparisonValidator.php - Checks if the passed value is valid.
- AllValidator::validate in lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Constraints/ AllValidator.php - Checks if the passed value is valid.
- BlankValidator::validate in lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Constraints/ BlankValidator.php - Checks if the passed value is valid.
- CallbackValidator::validate in lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Constraints/ CallbackValidator.php - Checks if the passed value is valid.
- CardSchemeValidator::validate in lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Constraints/ CardSchemeValidator.php - Validates a creditcard belongs to a specified scheme.
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ ConstraintValidatorInterface.php, line 36
Class
- ConstraintValidatorInterface
- @author Bernhard Schussek <bschussek@gmail.com>
Namespace
Symfony\Component\ValidatorCode
public function validate($value, Constraint $constraint);