summaryrefslogtreecommitdiff
path: root/includes/rcfeed/RCFeedFormatter.php
blob: 6c9f804211fc18c95450da04478ed34012c8200c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?php
interface RCFeedFormatter {
	/**
	 * Formats the line for the live feed.
	 *
	 * @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 The text to send.
	 */
	public function getLine( array $feed, RecentChange $rc, $actionComment );
}