Page MenuHomePhorge

DiffusionPreCommitRefPusherHeraldField.php
No OneTemporary

Size
541 B
Referenced Files
None
Subscribers
None

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();
}
}

File Metadata

Mime Type
text/x-php
Expires
Tue, May 27, 8:52 AM (1 d, 16 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
166312
Default Alt Text
DiffusionPreCommitRefPusherHeraldField.php (541 B)

Event Timeline