Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
ManaPHP
Http
FilterInterface
PHP Interface ManaPHP\Http\FilterInterface
Datei anzeigen
Open project: manaphp/manaphp
Public Methods
Method
Description
addFilter
(
string
$name
,
callable
$method
) :
static
addRule
(
string
$attribute
,
string
$rule
,
string
$name
= null ) :
static
sanitize
(
string
$attribute
,
string
$rule
,
string
$value
) :
mixed
Method Details
addFilter()
public
method
public
addFilter
(
string
$name
,
callable
$method
) :
static
$name
string
$method
callable
return
static
addRule()
public
method
public
addRule
(
string
$attribute
,
string
$rule
,
string
$name
= null ) :
static
$attribute
string
$rule
string
$name
string
return
static
sanitize()
public
method
public
sanitize
(
string
$attribute
,
string
$rule
,
string
$value
) :
mixed
$attribute
string
$rule
string
$value
string
return
mixed