Differential D9986 Diff 24115 src/applications/differential/customfield/DifferentialReviewedByField.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/customfield/DifferentialReviewedByField.php
Show First 20 Lines • Show All 49 Lines • ▼ Show 20 Lines | final class DifferentialReviewedByField | ||||
public function shouldAppearInCommitMessage() { | public function shouldAppearInCommitMessage() { | ||||
return true; | return true; | ||||
} | } | ||||
public function parseValueFromCommitMessage($value) { | public function parseValueFromCommitMessage($value) { | ||||
return $this->parseObjectList( | return $this->parseObjectList( | ||||
$value, | $value, | ||||
array( | array( | ||||
PhabricatorPeoplePHIDTypeUser::TYPECONST, | PhabricatorPeopleUserPHIDType::TYPECONST, | ||||
PhabricatorProjectPHIDTypeProject::TYPECONST, | PhabricatorProjectProjectPHIDType::TYPECONST, | ||||
), | ), | ||||
$allow_partial = true); | $allow_partial = true); | ||||
} | } | ||||
public function getRequiredHandlePHIDsForCommitMessage() { | public function getRequiredHandlePHIDsForCommitMessage() { | ||||
return $this->getValue(); | return $this->getValue(); | ||||
} | } | ||||
public function renderCommitMessageValue(array $handles) { | public function renderCommitMessageValue(array $handles) { | ||||
return $this->renderObjectList($handles); | return $this->renderObjectList($handles); | ||||
} | } | ||||
} | } |