You are here

public function SmsMessageInterface::setResult in SMS Framework 8

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

Set the result associated with this SMS message.

Parameters

\Drupal\sms\Message\SmsMessageResultInterface|null $result: The result to associate with this SMS message, or NULL if there is no result.

Return value

$this The called SMS message object.

2 methods override SmsMessageInterface::setResult()
SmsMessage::setResult in src/Message/SmsMessage.php
Set the result associated with this SMS message.
SmsMessage::setResult in src/Entity/SmsMessage.php
Sets the result associated with this SMS message.

File

src/Message/SmsMessageInterface.php, line 164

Class

SmsMessageInterface
Contains information about an SMS message.

Namespace

Drupal\sms\Message

Code

public function setResult(SmsMessageResultInterface $result = NULL);