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
Fuel
Validation
ValidatableInterface
PHP Interface Fuel\Validation\ValidatableInterface
Exibir arquivo
Open project: fuelphp/validation
Public Methods
Method
Description
run
(
array
$data
,
Fuel\Validation\ResultInterface
$result
= null ) :
Fuel\Validation\ResultInterface
Takes an array of data and validates that against the assigned rules.
Method Details
run()
public
method
The array is expected to have keys named after fields. This function will call reset() before it runs.
Since:
2.0
public
run
(
array
$data
,
Fuel\Validation\ResultInterface
$result
= null ) :
Fuel\Validation\ResultInterface
$data
array
$result
Fuel\Validation\ResultInterface
return
Fuel\Validation\ResultInterface