Changeset View
Changeset View
Standalone View
Standalone View
src/applications/harbormaster/phid/HarbormasterPHIDTypeBuild.php
<?php | <?php | ||||
final class HarbormasterPHIDTypeBuild extends PhabricatorPHIDType { | final class HarbormasterPHIDTypeBuild extends PhabricatorPHIDType { | ||||
const TYPECONST = 'HMBD'; | const TYPECONST = 'HMBD'; | ||||
public function getTypeConstant() { | |||||
return self::TYPECONST; | |||||
} | |||||
public function getTypeName() { | public function getTypeName() { | ||||
return pht('Build'); | return pht('Build'); | ||||
} | } | ||||
public function newObject() { | public function newObject() { | ||||
return new HarbormasterBuild(); | return new HarbormasterBuild(); | ||||
} | } | ||||
Show All 25 Lines |