Changeset View
Changeset View
Standalone View
Standalone View
src/applications/phlux/phid/PhluxPHIDTypeVariable.php
<?php | <?php | ||||
final class PhluxPHIDTypeVariable extends PhabricatorPHIDType { | final class PhluxPHIDTypeVariable extends PhabricatorPHIDType { | ||||
const TYPECONST = 'PVAR'; | const TYPECONST = 'PVAR'; | ||||
public function getTypeConstant() { | |||||
return self::TYPECONST; | |||||
} | |||||
public function getTypeName() { | public function getTypeName() { | ||||
return pht('Variable'); | return pht('Variable'); | ||||
} | } | ||||
public function newObject() { | public function newObject() { | ||||
return new PhluxVariable(); | return new PhluxVariable(); | ||||
} | } | ||||
Show All 25 Lines |