public function SpoolList::__construct in Simplenews 8
Same name and namespace in other branches
- 8.2 src/Spool/SpoolList.php \Drupal\simplenews\Spool\SpoolList::__construct()
- 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\SpoolCode
public function __construct(array $mails) {
$this->mails = $mails;
}