You are here

public function SmsMessageEvent::getMessages in SMS Framework 8

Same name and namespace in other branches
  1. 2.x src/Event/SmsMessageEvent.php \Drupal\sms\Event\SmsMessageEvent::getMessages()
  2. 2.1.x src/Event/SmsMessageEvent.php \Drupal\sms\Event\SmsMessageEvent::getMessages()

Get all messages on this event.

Return value

\Drupal\sms\Message\SmsMessageInterface[] The messages on this event.

File

src/Event/SmsMessageEvent.php, line 40

Class

SmsMessageEvent
Event fired when SMS messages are processed.

Namespace

Drupal\sms\Event

Code

public function getMessages() {
  return $this->messages;
}