cd785d8a253fffcca8f7f27499a7412ac86a70b2
[yaffs-website] / vendor / drush / drush / tests / resources / requeue_script.php
1 <?php
2
3 /**
4  * @file
5  * Creates the woot_requeue_exception queue and adds an item to it.
6  *
7  * @see WootRequeueException
8  */
9
10 $queue_factory = \Drupal::service('queue');
11 $queue = $queue_factory->get('woot_requeue_exception', true);
12 $queue->createItem(['foo' => 'bar']);