public function SpoolList::__construct in Simplenews 3.x
Same name and namespace in other branches
- 8.2 src/Spool/SpoolList.php \Drupal\simplenews\Spool\SpoolList::__construct()
- 8 src/Spool/SpoolList.php \Drupal\simplenews\Spool\SpoolList::__construct()
Creates a spool list.
Parameters
array $spool_rows: List of mail spool rows.
\Drupal\simplenews\Spool\SpoolStorageInterface $spool_storage: The spool storage.
File
- src/
Spool/ SpoolList.php, line 66
Class
- SpoolList
- List of mail spool entries.
Namespace
Drupal\simplenews\SpoolCode
public function __construct(array $spool_rows, SpoolStorageInterface $spool_storage) {
$this->spoolRows = $spool_rows;
$this->spoolStorage = $spool_storage;
}