Patched to Drupal 8.4.8 level. See https://www.drupal.org/sa-core-2018-004 and patch...
[yaffs-website] / web / core / lib / Drupal / Core / Queue / QueueGarbageCollectionInterface.php
1 <?php
2
3 namespace Drupal\Core\Queue;
4
5 /**
6  * If the Drupal 'queue' service implements this interface, the
7  * garbageCollection() method will be called during cron.
8  *
9  * @see system_cron()
10  */
11 interface QueueGarbageCollectionInterface {
12
13   /**
14    * Cleans queues of garbage.
15    */
16   public function garbageCollection();
17
18 }