Changeset View
Changeset View
Standalone View
Standalone View
src/applications/people/phid/PhabricatorPeoplePHIDTypeExternal.php
<?php | <?php | ||||
final class PhabricatorPeoplePHIDTypeExternal extends PhabricatorPHIDType { | final class PhabricatorPeoplePHIDTypeExternal extends PhabricatorPHIDType { | ||||
const TYPECONST = 'XUSR'; | const TYPECONST = 'XUSR'; | ||||
public function getTypeConstant() { | |||||
return self::TYPECONST; | |||||
} | |||||
public function getTypeName() { | public function getTypeName() { | ||||
return pht('External Account'); | return pht('External Account'); | ||||
} | } | ||||
public function newObject() { | public function newObject() { | ||||
return new PhabricatorExternalAccount(); | return new PhabricatorExternalAccount(); | ||||
} | } | ||||
Show All 22 Lines |