Page MenuHomePhorge

PhabricatorPeopleExternalIdentifierPHIDType.php
No OneTemporary

PhabricatorPeopleExternalIdentifierPHIDType.php

<?php
final class PhabricatorPeopleExternalIdentifierPHIDType
extends PhabricatorPHIDType {
const TYPECONST = 'XIDT';
public function getTypeName() {
return pht('External Account Identifier');
}
public function newObject() {
return new PhabricatorExternalAccountIdentifier();
}
public function getPHIDTypeApplicationClass() {
return PhabricatorPeopleApplication::class;
}
protected function buildQueryForObjects(
PhabricatorObjectQuery $query,
array $phids) {
return id(new PhabricatorExternalAccountIdentifierQuery())
->withPHIDs($phids);
}
public function loadHandles(
PhabricatorHandleQuery $query,
array $handles,
array $objects) {
foreach ($handles as $phid => $handle) {
$identifier = $objects[$phid];
}
}
}

File Metadata

Mime Type
text/x-php
Expires
Sun, Feb 23, 04:51 (1 d, 13 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1181147
Default Alt Text
PhabricatorPeopleExternalIdentifierPHIDType.php (804 B)

Event Timeline