Page MenuHomestyx hydra

NuanceQueuePHIDType.php
No OneTemporary

NuanceQueuePHIDType.php

<?php
final class NuanceQueuePHIDType extends PhabricatorPHIDType {
const TYPECONST = 'NUAQ';
public function getTypeName() {
return pht('Queue');
}
public function newObject() {
return new NuanceQueue();
}
public function getPHIDTypeApplicationClass() {
return PhabricatorNuanceApplication::class;
}
protected function buildQueryForObjects(
PhabricatorObjectQuery $query,
array $phids) {
return id(new NuanceQueueQuery())
->withPHIDs($phids);
}
public function loadHandles(
PhabricatorHandleQuery $query,
array $handles,
array $objects) {
$viewer = $query->getViewer();
foreach ($handles as $phid => $handle) {
$queue = $objects[$phid];
$handle->setName($queue->getName());
$handle->setURI($queue->getURI());
}
}
}

File Metadata

Mime Type
text/x-php
Expires
Wed, Dec 3, 12:52 PM (12 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
433401
Default Alt Text
NuanceQueuePHIDType.php (821 B)

Event Timeline