2015-11-30 23:26:45 +00:00
|
|
|
<?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
|
|
|
|
|
*/
|
2017-10-12 18:58:33 +00:00
|
|
|
interface MergeableUpdate extends DeferrableUpdate {
|
2015-11-30 23:26:45 +00:00
|
|
|
/**
|
|
|
|
|
* Merge this update with $update
|
|
|
|
|
*
|
|
|
|
|
* @param MergeableUpdate $update Update of the same class type
|
|
|
|
|
*/
|
|
|
|
|
function merge( MergeableUpdate $update );
|
|
|
|
|
}
|