Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/phid/DifferentialPHIDTypeRevision.php
<?php | <?php | ||||
final class DifferentialPHIDTypeRevision extends PhabricatorPHIDType { | final class DifferentialPHIDTypeRevision extends PhabricatorPHIDType { | ||||
const TYPECONST = 'DREV'; | const TYPECONST = 'DREV'; | ||||
public function getTypeConstant() { | |||||
return self::TYPECONST; | |||||
} | |||||
public function getTypeName() { | public function getTypeName() { | ||||
return pht('Revision'); | return pht('Revision'); | ||||
} | } | ||||
public function getPHIDTypeApplicationClass() { | public function getPHIDTypeApplicationClass() { | ||||
return 'PhabricatorApplicationDifferential'; | return 'PhabricatorApplicationDifferential'; | ||||
} | } | ||||
▲ Show 20 Lines • Show All 64 Lines • Show Last 20 Lines |