Toggle navigation
Hot Examples
JP
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
検索
Home
Fuel
Validation
ValidatableInterface
PHP Interface Fuel\Validation\ValidatableInterface
ファイルを表示
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