Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/phid/DifferentialPHIDTypeDiff.php
<?php | <?php | ||||
final class DifferentialPHIDTypeDiff extends PhabricatorPHIDType { | final class DifferentialPHIDTypeDiff extends PhabricatorPHIDType { | ||||
const TYPECONST = 'DIFF'; | const TYPECONST = 'DIFF'; | ||||
public function getTypeConstant() { | |||||
return self::TYPECONST; | |||||
} | |||||
public function getTypeName() { | public function getTypeName() { | ||||
return pht('Differential Diff'); | return pht('Differential Diff'); | ||||
} | } | ||||
public function newObject() { | public function newObject() { | ||||
return new DifferentialDiff(); | return new DifferentialDiff(); | ||||
} | } | ||||
Show All 24 Lines |