Changeset View
Changeset View
Standalone View
Standalone View
src/applications/harbormaster/phid/HarbormasterBuildLogPHIDType.php
| <?php | <?php | ||||
| final class HarbormasterBuildLogPHIDType extends PhabricatorPHIDType { | final class HarbormasterBuildLogPHIDType extends PhabricatorPHIDType { | ||||
| const TYPECONST = 'HMCL'; | const TYPECONST = 'HMCL'; | ||||
| public function getTypeName() { | public function getTypeName() { | ||||
| return pht('Build Log'); | return pht('Build Log'); | ||||
| } | } | ||||
| public function newObject() { | public function newObject() { | ||||
| return new HarbormasterBuildLog(); | return new HarbormasterBuildLog(); | ||||
| } | } | ||||
| public function getPHIDTypeApplicationClass() { | |||||
| return 'PhabricatorHarbormasterApplication'; | |||||
| } | |||||
| protected function buildQueryForObjects( | protected function buildQueryForObjects( | ||||
| PhabricatorObjectQuery $query, | PhabricatorObjectQuery $query, | ||||
| array $phids) { | array $phids) { | ||||
| return id(new HarbormasterBuildLogQuery()) | return id(new HarbormasterBuildLogQuery()) | ||||
| ->withPHIDs($phids); | ->withPHIDs($phids); | ||||
| } | } | ||||
| Show All 11 Lines | |||||