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

Breadcrumb

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

function EmailAddressContains::failureDescription

Parameters

RawMessage $message:

Overrides Constraint::failureDescription

File

vendor/symfony/mime/Test/Constraint/EmailAddressContains.php, line 60

Class

EmailAddressContains

Namespace

Symfony\Component\Mime\Test\Constraint

Code

protected function failureDescription($message) : string {
    return \sprintf('the Email %s (value is %s)', $this->toString(), $message->getHeaders()
        ->get($this->headerName)
        ->getBodyAsString());
}

API Navigation

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