Changeset View
Changeset View
Standalone View
Standalone View
src/applications/people/phid/PhabricatorPeoplePHIDTypeUser.php
<?php | <?php | ||||
final class PhabricatorPeoplePHIDTypeUser extends PhabricatorPHIDType { | final class PhabricatorPeoplePHIDTypeUser extends PhabricatorPHIDType { | ||||
const TYPECONST = 'USER'; | const TYPECONST = 'USER'; | ||||
public function getTypeConstant() { | |||||
return self::TYPECONST; | |||||
} | |||||
public function getTypeName() { | public function getTypeName() { | ||||
return pht('User'); | return pht('User'); | ||||
} | } | ||||
public function getPHIDTypeApplicationClass() { | public function getPHIDTypeApplicationClass() { | ||||
return 'PhabricatorApplicationPeople'; | return 'PhabricatorApplicationPeople'; | ||||
} | } | ||||
▲ Show 20 Lines • Show All 74 Lines • Show Last 20 Lines |