1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-13 23:38:34 +01:00
phorge-phorge/src/applications/diffusion/herald/DiffusionPreCommitRefNameHeraldField.php

21 lines
410 B
PHP
Raw Normal View History

<?php
final class DiffusionPreCommitRefNameHeraldField
extends DiffusionPreCommitRefHeraldField {
const FIELDCONST = 'diffusion.pre.ref.name';
public function getHeraldFieldName() {
return pht('Ref name');
}
public function getHeraldFieldValue($object) {
return $object->getRefName();
}
protected function getHeraldFieldStandardType() {
return HeraldField::STANDARD_TEXT;
}
}