You are here

public function SpoolList::__construct in Simplenews 8

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

Creates a spool list.

Parameters

array $mails: List of mail spool rows.

File

src/Spool/SpoolList.php, line 30

Class

SpoolList
List of mail spool entries.

Namespace

Drupal\simplenews\Spool

Code

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