Differential D9985 Diff 23994 src/applications/harbormaster/phid/HarbormasterPHIDTypeBuildTarget.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/harbormaster/phid/HarbormasterPHIDTypeBuildTarget.php
<?php | <?php | ||||
final class HarbormasterPHIDTypeBuildTarget extends PhabricatorPHIDType { | final class HarbormasterPHIDTypeBuildTarget extends PhabricatorPHIDType { | ||||
const TYPECONST = 'HMBT'; | const TYPECONST = 'HMBT'; | ||||
public function getTypeConstant() { | |||||
return self::TYPECONST; | |||||
} | |||||
public function getTypeName() { | public function getTypeName() { | ||||
return pht('Build Target'); | return pht('Build Target'); | ||||
} | } | ||||
public function newObject() { | public function newObject() { | ||||
return new HarbormasterBuildTarget(); | return new HarbormasterBuildTarget(); | ||||
} | } | ||||
Show All 19 Lines |