You are here

interface SmsIncomingEventProcessorInterface in SMS Framework 2.1.x

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

Interface for gateways implementing an incoming event subscriber.

Hierarchy

Expanded class hierarchy of SmsIncomingEventProcessorInterface

All classes that implement SmsIncomingEventProcessorInterface

2 files declare their use of SmsIncomingEventProcessorInterface
DefaultSmsProvider.php in src/Provider/DefaultSmsProvider.php
Memory.php in tests/modules/sms_test_gateway/src/Plugin/SmsGateway/Memory.php

File

src/Plugin/SmsGateway/SmsIncomingEventProcessorInterface.php, line 12

Namespace

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

  /**
   * 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
SmsIncomingEventProcessorInterface::incomingEvent public function Process a SMS message from this gateway. 1