aboutsummaryrefslogtreecommitdiffstats
path: root/includes/deferred/MergeableUpdate.php
blob: 70760ce49c0c23a669db9789da25526ff3db46da (plain) (blame)
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 {
	/**
	 * Merge this update with $update
	 *
	 * @param MergeableUpdate $update Update of the same class type
	 */
	function merge( MergeableUpdate $update );
}