Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F118333184
PhortuneAddPaymentMethodAction.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
Thu, Jun 19, 08:11
Size
476 B
Mime Type
text/x-php
Expires
Sat, Jun 21, 08:11 (1 d, 9 h)
Engine
blob
Format
Raw Data
Handle
26872735
Attached To
rPH Phabricator
PhortuneAddPaymentMethodAction.php
View Options
<?php
final
class
PhortuneAddPaymentMethodAction
extends
PhabricatorSystemAction
{
const
TYPECONST
=
'phortune.payment-method.add'
;
public
function
getActionConstant
()
{
return
self
::
TYPECONST
;
}
public
function
getScoreThreshold
()
{
return
60
/
phutil_units
(
'1 hour in seconds'
);
}
public
function
getLimitExplanation
()
{
return
pht
(
'You are making too many attempts to add payment methods in a short '
.
'period of time.'
);
}
}
Event Timeline
Log In to Comment