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

Breadcrumb

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

function IdentificationHeader::getBodyAsString

Overrides HeaderInterface::getBodyAsString

File

vendor/symfony/mime/Header/IdentificationHeader.php, line 98

Class

IdentificationHeader
An ID MIME Header for something like Message-ID or Content-ID (one or more addresses).

Namespace

Symfony\Component\Mime\Header

Code

public function getBodyAsString() : string {
    $addrs = [];
    foreach ($this->idsAsAddresses as $address) {
        $addrs[] = '<' . $address->toString() . '>';
    }
    return implode(' ', $addrs);
}

API Navigation

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