Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
ManaPHP
Security
RateLimiterInterface
PHP Interface ManaPHP\Security\RateLimiterInterface
显示文件
Open project: manaphp/manaphp
Public Methods
Method
Description
limit
(
string
|
array
$controllerAction
,
integer
$duration
,
integer
$ip_times
,
integer
$user_times
= null ) :
void
limitAny
(
string
$resource
,
integer
$duration
,
integer
$ip_times
,
integer
$user_times
= null ) :
void
Method Details
limit()
public
method
public
limit
(
string
|
array
$controllerAction
,
integer
$duration
,
integer
$ip_times
,
integer
$user_times
= null ) :
void
$controllerAction
string
|
array
$duration
integer
$ip_times
integer
$user_times
integer
return
void
limitAny()
public
method
public
limitAny
(
string
$resource
,
integer
$duration
,
integer
$ip_times
,
integer
$user_times
= null ) :
void
$resource
string
$duration
integer
$ip_times
integer
$user_times
integer
return
void