You are here

public function SmsMessageInterface::getDirection in SMS Framework 2.1.x

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

Get direction of the message.

Return value

int See \Drupal\sms\Direction constants for potential values.

2 methods override SmsMessageInterface::getDirection()
SmsMessage::getDirection in src/Message/SmsMessage.php
Get direction of the message.
SmsMessage::getDirection in src/Entity/SmsMessage.php
Get direction of the message.

File

src/Message/SmsMessageInterface.php, line 91

Class

SmsMessageInterface
Contains information about an SMS message.

Namespace

Drupal\sms\Message

Code

public function getDirection();