Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F96411269
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
Thu, Dec 26, 12:55
Size
1 KB
Mime Type
text/x-php
Expires
Sat, Dec 28, 12:55 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
23166525
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
();
}
Event Timeline
Log In to Comment