Page MenuHomec4science

DiffusionCommitRepositoryHeraldField.php
No OneTemporary

File Metadata

Created
Sun, Dec 29, 02:32

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