You are here

public function SmsProviderInterface::incoming in SMS Framework 8

Same name and namespace in other branches
  1. 2.x src/Provider/SmsProviderInterface.php \Drupal\sms\Provider\SmsProviderInterface::incoming()
  2. 2.1.x src/Provider/SmsProviderInterface.php \Drupal\sms\Provider\SmsProviderInterface::incoming()

Handles a message sent from the gateway to the site.

Parameters

\Drupal\sms\Message\SmsMessageInterface $sms_message: The incoming message to process.

Return value

\Drupal\sms\Message\SmsMessageInterface[] The messages received in an incoming operation.

1 method overrides SmsProviderInterface::incoming()
DefaultSmsProvider::incoming in src/Provider/DefaultSmsProvider.php
Handles a message sent from the gateway to the site.

File

src/Provider/SmsProviderInterface.php, line 57

Class

SmsProviderInterface
Provides an interface for sending messages.

Namespace

Drupal\sms\Provider

Code

public function incoming(SmsMessageInterface $sms_message);