Differential D20304 Diff 48502 src/applications/project/trigger/PhabricatorProjectTriggerInvalidRule.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/project/trigger/PhabricatorProjectTriggerInvalidRule.php
| Show All 10 Lines | public function setException(Exception $exception) { | ||||
| $this->exception = $exception; | $this->exception = $exception; | ||||
| return $this; | return $this; | ||||
| } | } | ||||
| public function getException() { | public function getException() { | ||||
| return $this->exception; | return $this->exception; | ||||
| } | } | ||||
| public function getDescription() { | |||||
| return pht( | |||||
| 'Invalid rule (of type "%s").', | |||||
| $this->getRecord()->getType()); | |||||
| } | |||||
| public function getSelectControlName() { | public function getSelectControlName() { | ||||
| return pht('(Invalid Rule)'); | return pht('(Invalid Rule)'); | ||||
| } | } | ||||
| protected function isSelectableRule() { | protected function isSelectableRule() { | ||||
| return false; | return false; | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 67 Lines • Show Last 20 Lines | |||||