Page MenuHomec4science

DiffusionCommitRepositoryHeraldField.php
No OneTemporary

File Metadata

Created
Fri, Nov 8, 06:30

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