Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F102525190
PhabricatorApplicationTransactionInterface.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Feb 21, 15:45
Size
1 KB
Mime Type
text/x-php
Expires
Sun, Feb 23, 15:45 (2 d)
Engine
blob
Format
Raw Data
Handle
24342891
Attached To
rPH Phabricator
PhabricatorApplicationTransactionInterface.php
View Options
<?php
/**
* Allow infrastructure to apply transactions to the implementing object.
*
* For example, implementing this interface allows Subscriptions to apply CC
* transactions, and allows Harbormaster to apply build result notifications.
*/
interface
PhabricatorApplicationTransactionInterface
{
/**
* Return a @{class:PhabricatorApplicationTransactionEditor} which can be
* used to apply transactions to this object.
*
* @return PhabricatorApplicationTransactionEditor Editor for this object.
*/
public
function
getApplicationTransactionEditor
();
/**
* Return the object to apply transactions to. Normally this is the current
* object (that is, `$this`), but in some cases transactions may apply to
* a different object: for example, @{class:DifferentialDiff} applies
* transactions to the associated @{class:DifferentialRevision}.
*
* @return PhabricatorLiskDAO Object to apply transactions to.
*/
public
function
getApplicationTransactionObject
();
/**
* Return a template transaction for this object.
*
* @return PhabricatorApplicationTransaction
*/
public
function
getApplicationTransactionTemplate
();
}
// TEMPLATE IMPLEMENTATION /////////////////////////////////////////////////////
/* -( PhabricatorApplicationTransactionInterface )------------------------- */
/*
public function getApplicationTransactionEditor() {
return new <<<???>>>Editor();
}
public function getApplicationTransactionObject() {
return $this;
}
public function getApplicationTransactionTemplate() {
return new <<<???>>>Transaction();
}
*/
Event Timeline
Log In to Comment