3 final class DiffusionCommitRevisionReviewersHeraldField
4 extends DiffusionCommitHeraldField
{
6 const FIELDCONST
= 'diffusion.commit.revision.reviewers';
8 public function getHeraldFieldName() {
9 return pht('Differential reviewers');
12 public function getFieldGroupKey() {
13 return HeraldRelatedFieldGroup
::FIELDGROUPKEY
;
16 public function getHeraldFieldValue($object) {
17 $revision = $this->getAdapter()->loadDifferentialRevision();
23 return $revision->getReviewerPHIDs();
26 protected function getHeraldFieldStandardType() {
27 return self
::STANDARD_PHID_LIST
;
30 protected function getDatasource() {
31 return new DifferentialReviewerDatasource();