You are here

public function SparkpostMessageWrapper::__construct in Sparkpost email 7

Same name and namespace in other branches
  1. 7.2 includes/sparkpost.message_wrapper.inc \SparkpostMessageWrapper::__construct()

SparkpostMessage constructor.

1 call to SparkpostMessageWrapper::__construct()
SparkpostQueuedMessageWrapper::__construct in modules/sparkpost_requeue/sparkpost_requeue.queue_message_wrapper.inc
SparkpostQueuedMessageWrapper constructor.
1 method overrides SparkpostMessageWrapper::__construct()
SparkpostQueuedMessageWrapper::__construct in modules/sparkpost_requeue/sparkpost_requeue.queue_message_wrapper.inc
SparkpostQueuedMessageWrapper constructor.

File

includes/sparkpost.message_wrapper.inc, line 33
Message class.

Class

SparkpostMessageWrapper
@file Message class.

Code

public function __construct(array $sparkpost_message, array $drupal_message) {
  $this->sparkpostMessage = $sparkpost_message;
  $this->drupalMessage = $drupal_message;
}