Page MenuHomestyx hydra

PhabricatorRepositoryPushLogPHIDType.php
No OneTemporary

PhabricatorRepositoryPushLogPHIDType.php

<?php
final class PhabricatorRepositoryPushLogPHIDType extends PhabricatorPHIDType {
const TYPECONST = 'PSHL';
public function getTypeName() {
return pht('Push Log');
}
public function newObject() {
return new PhabricatorRepositoryPushLog();
}
protected function buildQueryForObjects(
PhabricatorObjectQuery $query,
array $phids) {
return id(new PhabricatorRepositoryPushLogQuery())
->withPHIDs($phids);
}
public function loadHandles(
PhabricatorHandleQuery $query,
array $handles,
array $objects) {
foreach ($handles as $phid => $handle) {
$log = $objects[$phid];
$handle->setName(pht('Push Log %d', $log->getID()));
}
}
}

File Metadata

Mime Type
text/x-php
Expires
Sun, Nov 30, 11:21 PM (8 h, 57 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
429262
Default Alt Text
PhabricatorRepositoryPushLogPHIDType.php (710 B)

Event Timeline