You are here

public function SpoolList::count in Simplenews 8

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

File

src/Spool/SpoolList.php, line 37

Class

SpoolList
List of mail spool entries.

Namespace

Drupal\simplenews\Spool

Code

public function count() {
  return count($this->mails);
}