You are here

public function SmsMessageInterface::getDirection in SMS Framework 8

Same name and namespace in other branches
  1. 2.x src/Message/SmsMessageInterface.php \Drupal\sms\Message\SmsMessageInterface::getDirection()
  2. 2.1.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 89

Class

SmsMessageInterface
Contains information about an SMS message.

Namespace

Drupal\sms\Message

Code

public function getDirection();