Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Gajus
Vlad
Validator
PHP Class Gajus\Vlad\Validator
See link:
for the canonical source repository
Show file
Open project: gajus/vlad
Class Usage Examples
Protected Properties
Property
Type
Description
$default_options
$message
$requires_value
Public Methods
Method
Description
__construct
(
array
$options
= [] )
assess
(
mixed
$value
) :
boolean
getMessage
( ) :
string
getOptions
( ) :
array
Method Details
__construct()
public
method
public
__construct
(
array
$options
= [] )
$options
array
assess()
abstract
public
method
abstract
public
assess
(
mixed
$value
) :
boolean
$value
mixed
return
boolean
getMessage()
public
static
method
public
static
getMessage
( ) :
string
return
string
getOptions()
public
method
public
getOptions
( ) :
array
return
array
Property Details
$default_options
protected static property
protected
static
$default_options
$message
protected static property
protected
static
$message
$requires_value
protected static property
protected
static
$requires_value