Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
Webiny
Component
Entity
Attribute
Validation
ValidatorInterface
PHP Interface Webiny\Component\Entity\Attribute\Validation\ValidatorInterface
Afficher le fichier
Open project: Webiny/Framework
Interface Usage Examples
Méthodes publiques
Méthode
Description
getName
( ) :
string
Get validator name, eg: email
validate
(
AbstractAttribute
$attribute
,
mixed
$data
,
array
$params
= [] ) :
boolean
Validate given data
Method Details
getName()
public
méthode
Get validator name, eg: email
public
getName
( ) :
string
Résultat
string
validate()
public
méthode
Validate given data
public
validate
(
AbstractAttribute
$attribute
,
mixed
$data
,
array
$params
= [] ) :
boolean
$attribute
Webiny\Component\Entity\Attribute\AbstractAttribute
$data
mixed
$params
array
Résultat
boolean