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

Breadcrumb

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

function EmailCount::failureDescription

Parameters

MessageEvents $events:

Overrides Constraint::failureDescription

File

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

Class

EmailCount

Namespace

Symfony\Component\Mailer\Test\Constraint

Code

protected function failureDescription($events) : string {
    return \sprintf('the Transport %s (%d %s)', $this->toString(), $this->countEmails($events), $this->queued ? 'queued' : 'sent');
}

API Navigation

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