1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-24 05:28:18 +01:00
phorge-phorge/src/applications/diffusion/herald/DiffusionPreCommitContentAffectedFilesHeraldField.php

21 lines
460 B
PHP
Raw Normal View History

<?php
final class DiffusionPreCommitContentAffectedFilesHeraldField
extends DiffusionPreCommitContentHeraldField {
const FIELDCONST = 'diffusion.pre.commit.affected';
public function getHeraldFieldName() {
return pht('Affected files');
}
public function getHeraldFieldValue($object) {
return $this->getAdapter()->getDiffContent('name');
}
protected function getHeraldFieldStandardType() {
return self::STANDARD_TEXT_LIST;
}
}