3 namespace MediaWiki\Deferred
;
6 * Interface that deferrable updates should implement. Basically required so we
7 * can validate input on DeferredUpdates::addUpdate()
13 interface DeferrableUpdate
{
15 * Perform the actual work
17 public function doUpdate();
20 /** @deprecated class alias since 1.42 */
21 class_alias( DeferrableUpdate
::class, 'DeferrableUpdate' );