You are here

public function SmsMessageInterface::getOption in SMS Framework 8

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

Gets the option specified by the key $name.

Parameters

string $name: The name of the option.

Return value

mixed Get the value of the option.

2 methods override SmsMessageInterface::getOption()
SmsMessage::getOption in src/Message/SmsMessage.php
Gets the option specified by the key $name.
SmsMessage::getOption in src/Entity/SmsMessage.php
Gets the option specified by the key $name.

File

src/Message/SmsMessageInterface.php, line 119

Class

SmsMessageInterface
Contains information about an SMS message.

Namespace

Drupal\sms\Message

Code

public function getOption($name);