summaryrefslogtreecommitdiff
path: root/www/wiki/includes/deferred/MergeableUpdate.php
blob: 8eeef13bbe6a0e038f1232741b4258cd3ed04609 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php

/**
 * Interface that deferrable updates can implement. DeferredUpdates uses this to merge
 * all pending updates of PHP class into a single update by calling merge().
 *
 * @since 1.27
 */
interface MergeableUpdate extends DeferrableUpdate {
	/**
	 * Merge this update with $update
	 *
	 * @param MergeableUpdate $update Update of the same class type
	 */
	function merge( MergeableUpdate $update );
}