Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
Webiny
Component
Entity
Attribute
Validation
ValidatorInterface
PHP Interface Webiny\Component\Entity\Attribute\Validation\ValidatorInterface
Mostrar archivo
Open project: Webiny/Framework
Interface Usage Examples
Public Methods
Method
Description
getName
( ) :
string
Get validator name, eg: email
validate
(
AbstractAttribute
$attribute
,
mixed
$data
,
array
$params
= [] ) :
boolean
Validate given data
Method Details
getName()
public
method
Get validator name, eg: email
public
getName
( ) :
string
return
string
validate()
public
method
Validate given data
public
validate
(
AbstractAttribute
$attribute
,
mixed
$data
,
array
$params
= [] ) :
boolean
$attribute
Webiny\Component\Entity\Attribute\AbstractAttribute
$data
mixed
$params
array
return
boolean