PHP Class Symfony\Component\Validator\Constraints\FalseValidator

Author: Bernhard Schussek ([email protected])
Inheritance: extends Symfony\Component\Validator\ConstraintValidator
Afficher le fichier Open project: pmjones/php-framework-benchmarks

Méthodes publiques

Méthode Description
isValid ( mixed $value, Constraint $constraint ) : boolean Checks if the passed value is valid.

Method Details

isValid() public méthode

Checks if the passed value is valid.
public isValid ( mixed $value, Constraint $constraint ) : boolean
$value mixed The value that should be validated
$constraint Symfony\Component\Validator\Constraint The constrain for the validation
Résultat boolean Whether or not the value is valid