You are here

public function MailTest::__construct in Simplenews 8

Same name and namespace in other branches
  1. 8.2 src/Mail/MailTest.php \Drupal\simplenews\Mail\MailTest::__construct()
  2. 3.x src/Mail/MailTest.php \Drupal\simplenews\Mail\MailTest::__construct()

File

src/Mail/MailTest.php, line 14

Class

MailTest
Example mail implementation used for tests.

Namespace

Drupal\simplenews\Mail

Code

public function __construct($format) {
  $this->format = $format;
}