Differential D9985 Diff 24031 src/applications/oauthserver/phid/PhabricatorOAuthServerPHIDTypeClient.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/oauthserver/phid/PhabricatorOAuthServerPHIDTypeClient.php
<?php | <?php | ||||
final class PhabricatorOAuthServerPHIDTypeClient | final class PhabricatorOAuthServerPHIDTypeClient | ||||
extends PhabricatorPHIDType { | extends PhabricatorPHIDType { | ||||
const TYPECONST = 'OASC'; | const TYPECONST = 'OASC'; | ||||
public function getTypeConstant() { | |||||
return self::TYPECONST; | |||||
} | |||||
public function getTypeName() { | public function getTypeName() { | ||||
return pht('OAuth Application'); | return pht('OAuth Application'); | ||||
} | } | ||||
public function newObject() { | public function newObject() { | ||||
return new PhabricatorOAuthServerClient(); | return new PhabricatorOAuthServerClient(); | ||||
} | } | ||||
Show All 21 Lines |