You are here

public function SmsMessageInterface::getGateway in SMS Framework 8

Same name and namespace in other branches
  1. 2.x src/Message/SmsMessageInterface.php \Drupal\sms\Message\SmsMessageInterface::getGateway()
  2. 2.1.x src/Message/SmsMessageInterface.php \Drupal\sms\Message\SmsMessageInterface::getGateway()

Get the gateway for this message.

Return value

\Drupal\sms\Entity\SmsGatewayInterface|null A gateway plugin instance, or NULL to let the provider decide.

2 methods override SmsMessageInterface::getGateway()
SmsMessage::getGateway in src/Message/SmsMessage.php
Get the gateway for this message.
SmsMessage::getGateway in src/Entity/SmsMessage.php
Get the gateway for this message.

File

src/Message/SmsMessageInterface.php, line 70

Class

SmsMessageInterface
Contains information about an SMS message.

Namespace

Drupal\sms\Message

Code

public function getGateway();