Page MenuHomec4science

DiffusionPreCommitRefPusherHeraldField.php
No OneTemporary

File Metadata

Created
Sun, Nov 10, 23:24

DiffusionPreCommitRefPusherHeraldField.php

<?php
final class DiffusionPreCommitRefPusherHeraldField
extends DiffusionPreCommitRefHeraldField {
const FIELDCONST = 'diffusion.pre.ref.pusher';
public function getHeraldFieldName() {
return pht('Pusher');
}
public function getHeraldFieldValue($object) {
return $this->getAdapter()->getHookEngine()->getViewer()->getPHID();
}
protected function getHeraldFieldStandardType() {
return HeraldField::STANDARD_PHID;
}
protected function getDatasource() {
return new PhabricatorPeopleDatasource();
}
}

Event Timeline