Page MenuHomec4science

DiffusionCommitMergeHeraldField.php
No OneTemporary

File Metadata

Created
Fri, Nov 22, 21:26

DiffusionCommitMergeHeraldField.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;
}
}

Event Timeline