public function SmsMessageInterface::setGateway in SMS Framework 2.x
Same name and namespace in other branches
- 8 src/Message/SmsMessageInterface.php \Drupal\sms\Message\SmsMessageInterface::setGateway()
- 2.1.x src/Message/SmsMessageInterface.php \Drupal\sms\Message\SmsMessageInterface::setGateway()
Set the gateway for this message.
Parameters
\Drupal\sms\Entity\SmsGatewayInterface $gateway: A gateway plugin instance.
Return value
$this Return SMS message for chaining.
2 methods override SmsMessageInterface::setGateway()
- SmsMessage::setGateway in src/
Message/ SmsMessage.php - Set the gateway for this message.
- SmsMessage::setGateway in src/
Entity/ SmsMessage.php - Set the gateway for this message.
File
- src/
Message/ SmsMessageInterface.php, line 83
Class
- SmsMessageInterface
- Contains information about an SMS message.
Namespace
Drupal\sms\MessageCode
public function setGateway(SmsGatewayInterface $gateway);