Created
January 16, 2014 16:14
-
-
Save neclimdul/8457720 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
interface QueueInterface { | |
/** | |
* Moves an item to the end of the queue. | |
* | |
* This method tries to provide a transaction safe method of recreating items. | |
* When possible the implementation will use methods which take extra steps to | |
* ensure jobs are not lost. At worst you can expect the implementation to use | |
* delete then create to add the item back into the queue. | |
* | |
* @param \stdClass $item | |
* The item returned by Drupal\Core\Queue\QueueInterface::claimItem(). | |
*/ | |
public function reCreateItem(\stdClass $item); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment