PHP 클래스 Symfony\Component\Validator\Constraints\ChoiceValidator

저자: Fabien Potencier ([email protected])
저자: Florian Eckerstorfer ([email protected])
저자: Bernhard Schussek ([email protected])
상속: extends Symfony\Component\Validator\ConstraintValidator
파일 보기 프로젝트 열기: pmjones/php-framework-benchmarks 1 사용 예제들

공개 메소드들

메소드 설명
isValid ( mixed $value, Constraint $constraint ) : boolean Checks if the passed value is valid.

메소드 상세

isValid() 공개 메소드

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
리턴 boolean Whether or not the value is valid