Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F101484108
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
Mon, Feb 10, 21:57
Size
476 B
Mime Type
text/x-php
Expires
Wed, Feb 12, 21:57 (2 d)
Engine
blob
Format
Raw Data
Handle
24161566
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