mirror of
https://we.phorge.it/source/phorge.git
synced 2025-02-10 22:08:32 +01:00
21 lines
425 B
PHP
21 lines
425 B
PHP
|
<?php
|
||
|
|
||
|
final class DiffusionCommitMergeHeraldField
|
||
|
extends DiffusionCommitHeraldField {
|
||
|
|
||
|
const FIELDCONST = 'diffusion.commit.merge';
|
||
|
|
||
|
public function getHeraldFieldName() {
|
||
|
return pht('Is merge commit');
|
||
|
}
|
||
|
|
||
|
public function getHeraldFieldValue($object) {
|
||
|
return $this->getAdapter()->loadIsMergeCommit();
|
||
|
}
|
||
|
|
||
|
protected function getHeraldFieldStandardType() {
|
||
|
return HeraldField::STANDARD_BOOL;
|
||
|
}
|
||
|
|
||
|
}
|