summaryrefslogtreecommitdiff
path: root/www/wiki/includes/deferred/EnqueueableDataUpdate.php
blob: ffeb740d41c904ce51e0aeebd88c6149e47c687f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php
/**
 * 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
 *
 * @since 1.27
 */
interface EnqueueableDataUpdate {
	/**
	 * @return array (wiki => wiki ID, job => IJobSpecification)
	 */
	public function getAsJobSpecification();
}