Page MenuHomec4science

DiffusionCommitRepositoryHeraldField.php
No OneTemporary

File Metadata

Created
Fri, Dec 27, 20:46

DiffusionCommitRepositoryHeraldField.php

<?php
final class DiffusionCommitRepositoryHeraldField
extends DiffusionCommitHeraldField {
const FIELDCONST = 'diffusion.commit.repository';
public function getHeraldFieldName() {
return pht('Repository');
}
public function getHeraldFieldValue($object) {
return $object->getRepository()->getPHID();
}
protected function getHeraldFieldStandardType() {
return self::STANDARD_PHID;
}
protected function getDatasource() {
return new DiffusionRepositoryDatasource();
}
}

Event Timeline