Changeset View
Changeset View
Standalone View
Standalone View
src/applications/config/phid/PhabricatorConfigPHIDTypeConfig.php
<?php | <?php | ||||
final class PhabricatorConfigPHIDTypeConfig extends PhabricatorPHIDType { | final class PhabricatorConfigPHIDTypeConfig extends PhabricatorPHIDType { | ||||
const TYPECONST = 'CONF'; | const TYPECONST = 'CONF'; | ||||
public function getTypeConstant() { | |||||
return self::TYPECONST; | |||||
} | |||||
public function getTypeName() { | public function getTypeName() { | ||||
return pht('Config'); | return pht('Config'); | ||||
} | } | ||||
public function newObject() { | public function newObject() { | ||||
return new PhabricatorConfigEntry(); | return new PhabricatorConfigEntry(); | ||||
} | } | ||||
Show All 24 Lines |