Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diviner/phid/DivinerPHIDTypeAtom.php
<?php | <?php | ||||
final class DivinerPHIDTypeAtom extends PhabricatorPHIDType { | final class DivinerPHIDTypeAtom extends PhabricatorPHIDType { | ||||
const TYPECONST = 'ATOM'; | const TYPECONST = 'ATOM'; | ||||
public function getTypeConstant() { | |||||
return self::TYPECONST; | |||||
} | |||||
public function getTypeName() { | public function getTypeName() { | ||||
return pht('Atom'); | return pht('Atom'); | ||||
} | } | ||||
public function newObject() { | public function newObject() { | ||||
return new DivinerLiveSymbol(); | return new DivinerLiveSymbol(); | ||||
} | } | ||||
Show All 22 Lines |