You are here

function MailInterface::getSubscriber in Simplenews 8

Same name and namespace in other branches
  1. 8.2 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

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

File

src/Mail/MailInterface.php, line 24

Class

MailInterface
A newsletter mail.

Namespace

Drupal\simplenews\Mail

Code

function getSubscriber();