Differential D18400 Diff 44242 src/applications/differential/constants/DifferentialRevisionStatus.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/constants/DifferentialRevisionStatus.php
| Show All 26 Lines | final class DifferentialRevisionStatus extends Phobject { | ||||
| public function getIconColor() { | public function getIconColor() { | ||||
| return idx($this->spec, 'color.icon', 'bluegrey'); | return idx($this->spec, 'color.icon', 'bluegrey'); | ||||
| } | } | ||||
| public function getTagColor() { | public function getTagColor() { | ||||
| return idx($this->spec, 'color.tag', 'bluegrey'); | return idx($this->spec, 'color.tag', 'bluegrey'); | ||||
| } | } | ||||
| public function getANSIColor() { | |||||
| return idx($this->spec, 'color.ansi'); | |||||
| } | |||||
| public function getDisplayName() { | public function getDisplayName() { | ||||
| return idx($this->spec, 'name'); | return idx($this->spec, 'name'); | ||||
| } | } | ||||
| public function isClosedStatus() { | public function isClosedStatus() { | ||||
| return idx($this->spec, 'closed'); | return idx($this->spec, 'closed'); | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 126 Lines • Show Last 20 Lines | |||||