You are here

final class Direction in SMS Framework 8

Same name and namespace in other branches
  1. 2.x src/Direction.php \Drupal\sms\Direction
  2. 2.1.x src/Direction.php \Drupal\sms\Direction

Contains direction constants for SMS Framework.

Hierarchy

Expanded class hierarchy of Direction

32 files declare their use of Direction
AccountRegistration.php in modules/sms_user/src/AccountRegistration.php
DefaultSmsProvider.php in src/Provider/DefaultSmsProvider.php
Incoming.php in tests/modules/sms_test_gateway/src/Plugin/SmsGateway/Incoming.php
PhoneNumberProvider.php in src/Provider/PhoneNumberProvider.php
PhoneNumberVerification.php in src/Provider/PhoneNumberVerification.php

... See full list

File

src/Direction.php, line 8

Namespace

Drupal\sms
View source
final class Direction {

  /**
   * Whether the message is queued to be sent from the website.
   *
   * @var int
   */
  const OUTGOING = 1;

  /**
   * Whether the message was received by the website.
   *
   * @var int
   */
  const INCOMING = -1;

}

Members

Namesort descending Modifiers Type Description Overrides
Direction::INCOMING constant Whether the message was received by the website.
Direction::OUTGOING constant Whether the message is queued to be sent from the website.