Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. EmailCount.php

function EmailCount::matches

Parameters

MessageEvents $events:

Overrides Constraint::matches

File

vendor/symfony/mailer/Test/Constraint/EmailCount.php, line 34

Class

EmailCount

Namespace

Symfony\Component\Mailer\Test\Constraint

Code

protected function matches($events) : bool {
    return $this->expectedValue === $this->countEmails($events);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal