You are here

SmsIncomingEventProcessorInterface.php in SMS Framework 2.1.x

File

src/Plugin/SmsGateway/SmsIncomingEventProcessorInterface.php
View source
<?php

declare (strict_types=1);
namespace Drupal\sms\Plugin\SmsGateway;

use Drupal\sms\Event\SmsMessageEvent;

/**
 * Interface for gateways implementing an incoming event subscriber.
 */
interface SmsIncomingEventProcessorInterface {

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

}

Interfaces

Namesort descending Description
SmsIncomingEventProcessorInterface Interface for gateways implementing an incoming event subscriber.