Differential D9985 Diff 24031 src/applications/transactions/phid/PhabricatorApplicationTransactionPHIDTypeTransaction.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/transactions/phid/PhabricatorApplicationTransactionPHIDTypeTransaction.php
<?php | <?php | ||||
final class PhabricatorApplicationTransactionPHIDTypeTransaction | final class PhabricatorApplicationTransactionPHIDTypeTransaction | ||||
extends PhabricatorPHIDType { | extends PhabricatorPHIDType { | ||||
const TYPECONST = 'XACT'; | const TYPECONST = 'XACT'; | ||||
public function getTypeConstant() { | |||||
return self::TYPECONST; | |||||
} | |||||
public function getTypeName() { | public function getTypeName() { | ||||
return pht('Transaction'); | return pht('Transaction'); | ||||
} | } | ||||
public function newObject() { | public function newObject() { | ||||
// NOTE: We could produce an object here, but we'd need to take a PHID type | // NOTE: We could produce an object here, but we'd need to take a PHID type | ||||
// and subtype to do so. Currently, we never write edges to transactions, | // and subtype to do so. Currently, we never write edges to transactions, | ||||
// so leave this unimplemented for the moment. | // so leave this unimplemented for the moment. | ||||
▲ Show 20 Lines • Show All 73 Lines • Show Last 20 Lines |