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
CallbackValidator
PHP Class Symfony\Component\Validator\Constraints\CallbackValidator
Author:
Bernhard Schussek (
[email protected]
)
Inheritance:
extends
Symfony\Component\Validator\ConstraintValidator
Exibir arquivo
Open project: pmjones/php-framework-benchmarks
Public Methods
Method
Description
isValid
(
$object
,
Constraint
$constraint
)
isValid
(
$object
,
Constraint
$constraint
) :
boolean
Checks if the passed value is valid.
Method Details
isValid()
public
method
public
isValid
(
$object
,
Constraint
$constraint
)
$constraint
Symfony\Component\Validator\Constraint
isValid()
public
method
Checks if the passed value is valid.
public
isValid
(
$object
,
Constraint
$constraint
) :
boolean
$constraint
Symfony\Component\Validator\Constraint
The constrain for the validation
return
boolean
Whether or not the value is valid