wiki.techinc.nl/includes/deferred/DeferrableUpdate.php
James D. Forrester 67217d08df Namespace remaining files under includes/deferred
Bug: T166010
Change-Id: Ibd40734b96fd2900e3ce12239d09becfb4150059
2023-11-22 10:08:53 -05:00

21 lines
414 B
PHP

<?php
namespace MediaWiki\Deferred;
/**
* Interface that deferrable updates should implement. Basically required so we
* can validate input on DeferredUpdates::addUpdate()
*
* @stable to implement
*
* @since 1.19
*/
interface DeferrableUpdate {
/**
* Perform the actual work
*/
public function doUpdate();
}
/** @deprecated since 1.42 */
class_alias( DeferrableUpdate::class, 'DeferrableUpdate' );