Page MenuHomestyx hydra

HeraldWebhookRequestPHIDType.php
No OneTemporary

HeraldWebhookRequestPHIDType.php

<?php
final class HeraldWebhookRequestPHIDType extends PhabricatorPHIDType {
const TYPECONST = 'HWBR';
public function getTypeName() {
return pht('Webhook Request');
}
public function newObject() {
return new HeraldWebhook();
}
public function getPHIDTypeApplicationClass() {
return PhabricatorHeraldApplication::class;
}
protected function buildQueryForObjects(
PhabricatorObjectQuery $query,
array $phids) {
return id(new HeraldWebhookRequestQuery())
->withPHIDs($phids);
}
public function loadHandles(
PhabricatorHandleQuery $query,
array $handles,
array $objects) {
foreach ($handles as $phid => $handle) {
$request = $objects[$phid];
$handle->setName(pht('Webhook Request %d', $request->getID()));
}
}
}

File Metadata

Mime Type
text/x-php
Expires
Thu, Feb 6, 1:23 AM (8 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33738
Default Alt Text
HeraldWebhookRequestPHIDType.php (803 B)

Event Timeline