MediaWiki REL1_39
JSONRCFeedFormatter.php
Go to the documentation of this file.
1<?php
2
33
34 protected function formatArray( array $packet ) {
35 return FormatJson::encode( $packet );
36 }
37}
Format a recent change notification using JSON (https://www.json.org).
formatArray(array $packet)
Take the packet and return the formatted string.
Abstract class so there can be multiple formatters outputting the same data.