SmsMessageResultInterface.php in SMS Framework 2.1.x
Same filename in this branch
Same filename and directory in other branches
Namespace
Drupal\sms\EntityFile
src/Entity/SmsMessageResultInterface.phpView source
<?php
declare (strict_types=1);
namespace Drupal\sms\Entity;
use Drupal\Core\Entity\ContentEntityInterface;
use Drupal\sms\Message\SmsMessageResultInterface as PlainMessageResultInterface;
/**
* Interface for SMS message result entity.
*/
interface SmsMessageResultInterface extends PlainMessageResultInterface, ContentEntityInterface {
/**
* Gets the parent SMS message entity.
*
* @return \Drupal\sms\Entity\SmsMessageInterface
* The parent SMS message entity.
*/
public function getSmsMessage();
/**
* Sets the parent SMS message entity.
*
* @param \Drupal\sms\Entity\SmsMessageInterface $sms_message
* The parent SMS message object.
*
* @return $this
*/
public function setSmsMessage(SmsMessageInterface $sms_message);
}
Interfaces
Name | Description |
---|---|
SmsMessageResultInterface | Interface for SMS message result entity. |