Changeset View
Changeset View
Standalone View
Standalone View
src/applications/ponder/phid/PonderPHIDTypeAnswer.php
<?php | <?php | ||||
final class PonderPHIDTypeAnswer extends PhabricatorPHIDType { | final class PonderPHIDTypeAnswer extends PhabricatorPHIDType { | ||||
const TYPECONST = 'ANSW'; | const TYPECONST = 'ANSW'; | ||||
public function getTypeConstant() { | |||||
return self::TYPECONST; | |||||
} | |||||
public function getTypeName() { | public function getTypeName() { | ||||
return pht('Answer'); | return pht('Answer'); | ||||
} | } | ||||
public function newObject() { | public function newObject() { | ||||
return new PonderAnswer(); | return new PonderAnswer(); | ||||
} | } | ||||
Show All 24 Lines |