Page MenuHomec4science

DiffusionPreCommitRefHeraldField.php
No OneTemporary

File Metadata

Created
Sat, Nov 30, 02:50

DiffusionPreCommitRefHeraldField.php

<?php
abstract class DiffusionPreCommitRefHeraldField extends HeraldField {
public function supportsObject($object) {
if (!($object instanceof PhabricatorRepositoryPushLog)) {
return false;
}
if (!$this->getAdapter()->isPreCommitRefAdapter()) {
return false;
}
return true;
}
public function getFieldGroupKey() {
return DiffusionPreCommitRefHeraldFieldGroup::FIELDGROUPKEY;
}
}

Event Timeline