Page MenuHomec4science

PhortuneAddPaymentMethodAction.php
No OneTemporary

File Metadata

Created
Mon, Feb 10, 21:57

PhortuneAddPaymentMethodAction.php

<?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