Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
Symfony
Component
Validator
Constraints
ChoiceValidator
PHP Class Symfony\Component\Validator\Constraints\ChoiceValidator
Author:
Fabien Potencier (
[email protected]
)
Author:
Florian Eckerstorfer (
[email protected]
)
Author:
Bernhard Schussek (
[email protected]
)
Inheritance:
extends
Symfony\Component\Validator\ConstraintValidator
Exibir arquivo
Open project: pmjones/php-framework-benchmarks
Class Usage Examples
Public Methods
Method
Description
isValid
(
mixed
$value
,
Constraint
$constraint
) :
boolean
Checks if the passed value is valid.
Method Details
isValid()
public
method
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
return
boolean
Whether or not the value is valid