You are here

interface SmsQueueProcessorInterface in SMS Framework 8

Same name and namespace in other branches
  1. 2.x src/Provider/SmsQueueProcessorInterface.php \Drupal\sms\Provider\SmsQueueProcessorInterface
  2. 2.1.x src/Provider/SmsQueueProcessorInterface.php \Drupal\sms\Provider\SmsQueueProcessorInterface

Interface for SMS Queue Processor.

Hierarchy

Expanded class hierarchy of SmsQueueProcessorInterface

All classes that implement SmsQueueProcessorInterface

File

src/Provider/SmsQueueProcessorInterface.php, line 8

Namespace

Drupal\sms\Provider
View source
interface SmsQueueProcessorInterface {

  /**
   * Check for messages not in the Drupal queue and add them.
   *
   * @todo rename?
   */
  public function processUnqueued();

  /**
   * Delete messages which have been processed and are expired.
   */
  public function garbageCollection();

}

Members

Namesort descending Modifiers Type Description Overrides
SmsQueueProcessorInterface::garbageCollection public function Delete messages which have been processed and are expired. 1
SmsQueueProcessorInterface::processUnqueued public function Check for messages not in the Drupal queue and add them. 1