Page MenuHomec4science

DifferentialDiffAuthorHeraldField.php
No OneTemporary

File Metadata

Created
Fri, Dec 27, 20:15

DifferentialDiffAuthorHeraldField.php

<?php
final class DifferentialDiffAuthorHeraldField
extends DifferentialDiffHeraldField {
const FIELDCONST = 'differential.diff.author';
public function getHeraldFieldName() {
return pht('Author');
}
public function getHeraldFieldValue($object) {
return $object->getAuthorPHID();
}
protected function getHeraldFieldStandardType() {
return self::STANDARD_PHID;
}
protected function getDatasource() {
return new PhabricatorPeopleDatasource();
}
}

Event Timeline