Page MenuHomePhorge

PhabricatorSubscribableInterface.php
No OneTemporary

Size
813 B
Referenced Files
None
Subscribers
None

PhabricatorSubscribableInterface.php

<?php
interface PhabricatorSubscribableInterface {
/**
* Return true to indicate that the given PHID is automatically subscribed
* to the object (for example, they are the author or in some other way
* irrevocably a subscriber). This will, e.g., cause the UI to render
* "Automatically Subscribed" instead of "Subscribe".
*
* @param PHID $phid PHID (presumably a user) to test for automatic
* subscription.
* @return bool True if the object/user is automatically subscribed.
*/
public function isAutomaticallySubscribed($phid);
}
// TEMPLATE IMPLEMENTATION /////////////////////////////////////////////////////
/* -( PhabricatorSubscribableInterface )----------------------------------- */
/*
public function isAutomaticallySubscribed($phid) {
return false;
}
*/

File Metadata

Mime Type
text/x-php
Expires
Mon, May 12, 12:58 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
122535
Default Alt Text
PhabricatorSubscribableInterface.php (813 B)

Event Timeline