Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
ManaPHP
Security
RateLimiterInterface
PHP Interface ManaPHP\Security\RateLimiterInterface
Mostra file
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