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