Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F103211739
PhabricatorSystemActionRateLimitException.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Feb 28, 06:06
Size
419 B
Mime Type
text/x-php
Expires
Sun, Mar 2, 06:06 (1 d, 18 h)
Engine
blob
Format
Raw Data
Handle
24515039
Attached To
rPH Phabricator
PhabricatorSystemActionRateLimitException.php
View Options
<?php
final
class
PhabricatorSystemActionRateLimitException
extends
Exception
{
private
$action
;
private
$score
;
public
function
__construct
(
PhabricatorSystemAction
$action
,
$score
)
{
$this
->
action
=
$action
;
$this
->
score
=
$score
;
parent
::
__construct
(
$action
->
getLimitExplanation
());
}
public
function
getRateExplanation
()
{
return
$this
->
action
->
getRateExplanation
(
$this
->
score
);
}
}
Event Timeline
Log In to Comment