public function SmsMessageInterface::setDirection in SMS Framework 8
Same name and namespace in other branches
- 2.x src/Message/SmsMessageInterface.php \Drupal\sms\Message\SmsMessageInterface::setDirection()
- 2.1.x src/Message/SmsMessageInterface.php \Drupal\sms\Message\SmsMessageInterface::setDirection()
Set direction of the message.
Parameters
int $direction: Any of \Drupal\sms\Direction constants.
Return value
$this Return SMS message for chaining.
2 methods override SmsMessageInterface::setDirection()
- SmsMessage::setDirection in src/
Message/ SmsMessage.php - Set direction of the message.
- SmsMessage::setDirection in src/
Entity/ SmsMessage.php - Set direction of the message.
File
- src/
Message/ SmsMessageInterface.php, line 100
Class
- SmsMessageInterface
- Contains information about an SMS message.
Namespace
Drupal\sms\MessageCode
public function setDirection($direction);