Changeset View
Changeset View
Standalone View
Standalone View
src/applications/nuance/phid/NuanceRequestorPHIDType.php
<?php | <?php | ||||
final class NuanceRequestorPHIDType extends PhabricatorPHIDType { | final class NuanceRequestorPHIDType extends PhabricatorPHIDType { | ||||
const TYPECONST = 'NUAR'; | const TYPECONST = 'NUAR'; | ||||
public function getTypeName() { | public function getTypeName() { | ||||
return pht('Requestor'); | return pht('Requestor'); | ||||
} | } | ||||
public function newObject() { | public function newObject() { | ||||
return new NuanceRequestor(); | return new NuanceRequestor(); | ||||
} | } | ||||
public function getPHIDTypeApplicationClass() { | |||||
return 'PhabricatorNuanceApplication'; | |||||
} | |||||
protected function buildQueryForObjects( | protected function buildQueryForObjects( | ||||
PhabricatorObjectQuery $query, | PhabricatorObjectQuery $query, | ||||
array $phids) { | array $phids) { | ||||
return id(new NuanceRequestorQuery()) | return id(new NuanceRequestorQuery()) | ||||
->withPHIDs($phids); | ->withPHIDs($phids); | ||||
} | } | ||||
Show All 17 Lines |