You are here

interface SmsIncomingEventInterface in SMS Framework 8

Same name and namespace in other branches
  1. 2.x src/Plugin/SmsGateway/SmsIncomingEventInterface.php \Drupal\sms\Plugin\SmsGateway\SmsIncomingEventInterface
  2. 2.1.x src/Plugin/SmsGateway/SmsIncomingEventInterface.php \Drupal\sms\Plugin\SmsGateway\SmsIncomingEventInterface

Interface for gateways implementing an incoming event subscriber.

Hierarchy

Expanded class hierarchy of SmsIncomingEventInterface

All classes that implement SmsIncomingEventInterface

File

src/Plugin/SmsGateway/SmsIncomingEventInterface.php, line 10

Namespace

Drupal\sms\Plugin\SmsGateway
View source
interface SmsIncomingEventInterface {

  /**
   * Process a SMS message from this gateway.
   *
   * @param \Drupal\sms\Event\SmsMessageEvent $event
   *   The event.
   */
  public function incomingEvent(SmsMessageEvent $event);

}

Members

Namesort descending Modifiers Type Description Overrides
SmsIncomingEventInterface::incomingEvent public function Process a SMS message from this gateway.