Changeset View
Changeset View
Standalone View
Standalone View
src/applications/harbormaster/phid/HarbormasterBuildPlanPHIDType.php
| Show All 10 Lines | final class HarbormasterBuildPlanPHIDType extends PhabricatorPHIDType { | ||||
| public function getTypeIcon() { | public function getTypeIcon() { | ||||
| return 'fa-cubes'; | return 'fa-cubes'; | ||||
| } | } | ||||
| public function newObject() { | public function newObject() { | ||||
| return new HarbormasterBuildPlan(); | return new HarbormasterBuildPlan(); | ||||
| } | } | ||||
| public function getPHIDTypeApplicationClass() { | |||||
| return 'PhabricatorHarbormasterApplication'; | |||||
| } | |||||
| protected function buildQueryForObjects( | protected function buildQueryForObjects( | ||||
| PhabricatorObjectQuery $query, | PhabricatorObjectQuery $query, | ||||
| array $phids) { | array $phids) { | ||||
| return id(new HarbormasterBuildPlanQuery()) | return id(new HarbormasterBuildPlanQuery()) | ||||
| ->withPHIDs($phids); | ->withPHIDs($phids); | ||||
| } | } | ||||
| Show All 14 Lines | |||||