You are here

public function MailTest::getSubscriber in Simplenews 8.2

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

Returns the subscriber object.

Return value

\Drupal\simplenews\SubscriberInterface Subscriber object.

Overrides MailInterface::getSubscriber

File

src/Mail/MailTest.php, line 136

Class

MailTest
Example mail implementation used for tests.

Namespace

Drupal\simplenews\Mail

Code

public function getSubscriber() {
  return NULL;
}