1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-03-01 23:19:15 +01:00
phorge-phorge/src/applications/differential/herald/DifferentialDiffContentAddedHeraldField.php

21 lines
442 B
PHP
Raw Normal View History

<?php
final class DifferentialDiffContentAddedHeraldField
extends DifferentialDiffHeraldField {
const FIELDCONST = 'differential.diff.new';
public function getHeraldFieldName() {
return pht('Added file content');
}
public function getHeraldFieldValue($object) {
return $this->getAdapter()->loadAddedContentDictionary();
}
protected function getHeraldFieldStandardType() {
return self::STANDARD_TEXT_MAP;
}
}