You are here

public function MailInterface::getSubscriber in Simplenews 8.2

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

Returns the subscriber object.

Return value

\Drupal\simplenews\SubscriberInterface Subscriber object.

2 methods override MailInterface::getSubscriber()
MailEntity::getSubscriber in src/Mail/MailEntity.php
Returns the subscriber object.
MailTest::getSubscriber in src/Mail/MailTest.php
Returns the subscriber object.

File

src/Mail/MailInterface.php, line 26

Class

MailInterface
A newsletter mail.

Namespace

Drupal\simplenews\Mail

Code

public function getSubscriber();