You are here

interface SmsIncomingEventInterface in SMS Framework 2.1.x

Same name and namespace in other branches
  1. 8 src/Plugin/SmsGateway/SmsIncomingEventInterface.php \Drupal\sms\Plugin\SmsGateway\SmsIncomingEventInterface
  2. 2.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 12

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.