Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7439576
RCFeedFormatter.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
842 B
Referenced Files
None
Subscribers
None
RCFeedFormatter.php
View Options
<?php
/**
* @license GPL-2.0-or-later
* @file
*/
namespace
MediaWiki\RCFeed
;
use
MediaWiki\RecentChanges\RecentChange
;
/**
* Interface for RC feed formatters
*
* @stable to implement
* @since 1.22
* @ingroup RecentChanges
*/
interface
RCFeedFormatter
{
/**
* Formats the line to be sent by an engine
*
* @param array $feed The feed, as configured in an associative array.
* @param RecentChange $rc The RecentChange object showing what sort
* of event has taken place.
* @param string|null $actionComment
* @return string|null The text to send. If the formatter returns null,
* the line will not be sent.
*/
public
function
getLine
(
array
$feed
,
RecentChange
$rc
,
$actionComment
);
}
/** @deprecated class alias since 1.43 */
class_alias
(
RCFeedFormatter
::
class
,
'RCFeedFormatter'
);
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Nov 22, 15:08 (1 w, 3 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
ef/17/cc55e69f8a75ffcd61e25f705b24
Default Alt Text
RCFeedFormatter.php (842 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment