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

23 lines
560 B
PHP

<?php
namespace MediaWiki\Deferred;
/**
* Interface that marks a DataUpdate as enqueuable via the JobQueue
*
* Such updates must be representable using IJobSpecification, so that
* they can be serialized into jobs and enqueued for later execution
*
* @stable to implement
*
* @since 1.27
*/
interface EnqueueableDataUpdate {
/**
* @return array (domain => DB domain ID, job => IJobSpecification)
*/
public function getAsJobSpecification();
}
/** @deprecated since 1.42 */
class_alias( EnqueueableDataUpdate::class, 'EnqueueableDataUpdate' );