MediaWiki
REL1_39
JSONRCFeedFormatter.php
Go to the documentation of this file.
1
<?php
2
32
class
JSONRCFeedFormatter
extends
MachineReadableRCFeedFormatter
{
33
34
protected
function
formatArray
( array $packet ) {
35
return
FormatJson::encode( $packet );
36
}
37
}
JSONRCFeedFormatter
Format a recent change notification using JSON (https://www.json.org).
Definition
JSONRCFeedFormatter.php:32
JSONRCFeedFormatter\formatArray
formatArray(array $packet)
Take the packet and return the formatted string.
Definition
JSONRCFeedFormatter.php:34
MachineReadableRCFeedFormatter
Abstract class so there can be multiple formatters outputting the same data.
Definition
MachineReadableRCFeedFormatter.php:30
includes
rcfeed
JSONRCFeedFormatter.php
Generated on Mon Dec 16 2024 06:36:00 for MediaWiki by
1.10.0