You are here

public function SpoolListInterface::nextMail in Simplenews 8.2

Same name and namespace in other branches
  1. 8 src/Spool/SpoolListInterface.php \Drupal\simplenews\Spool\SpoolListInterface::nextMail()
  2. 3.x src/Spool/SpoolListInterface.php \Drupal\simplenews\Spool\SpoolListInterface::nextMail()

Returns a Simplenews mail to be sent.

Return value

\Drupal\simplenews\Mail\MailInterface Next mail to be sent.

1 method overrides SpoolListInterface::nextMail()
SpoolList::nextMail in src/Spool/SpoolList.php
Returns a Simplenews mail to be sent.

File

src/Spool/SpoolListInterface.php, line 16

Class

SpoolListInterface
A list of spooled mails.

Namespace

Drupal\simplenews\Spool

Code

public function nextMail();