[ Index ] |
PHP Cross Reference of Phabricator |
[Summary view] [Print] [Text view]
1 <?php 2 3 final class PhabricatorSystemActionRateLimitException extends Exception { 4 5 private $action; 6 private $score; 7 8 public function __construct(PhabricatorSystemAction $action, $score) { 9 $this->action = $action; 10 $this->score = $score; 11 parent::__construct($action->getLimitExplanation()); 12 } 13 14 public function getRateExplanation() { 15 return $this->action->getRateExplanation($this->score); 16 } 17 18 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Sun Nov 30 09:20:46 2014 | Cross-referenced by PHPXref 0.7.1 |