Page MenuHomec4science

DifferentialRevisionReviewersHeraldField.php
No OneTemporary

File Metadata

Created
Thu, Oct 31, 22:37

DifferentialRevisionReviewersHeraldField.php

<?php
final class DifferentialRevisionReviewersHeraldField
extends DifferentialRevisionHeraldField {
const FIELDCONST = 'differential.revision.reviewers';
public function getHeraldFieldName() {
return pht('Reviewers');
}
public function getHeraldFieldValue($object) {
return $this->getAdapter()->loadReviewers();
}
protected function getHeraldFieldStandardType() {
return self::STANDARD_PHID_LIST;
}
protected function getDatasource() {
return new PhabricatorProjectOrUserDatasource();
}
}

Event Timeline