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

Breadcrumb

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

function HeaderInterface::getBodyAsString

Gets the header's body, prepared for folding into a final header value.

This is not necessarily RFC 2822 compliant since folding white space is not added at this stage (see {@link toString()} for that).

1 call to HeaderInterface::getBodyAsString()
AbstractHeader::toTokens in vendor/symfony/mime/Header/AbstractHeader.php
Generate a list of all tokens in the final header.
6 methods override HeaderInterface::getBodyAsString()
DateHeader::getBodyAsString in vendor/symfony/mime/Header/DateHeader.php
Gets the header's body, prepared for folding into a final header value.
IdentificationHeader::getBodyAsString in vendor/symfony/mime/Header/IdentificationHeader.php
Gets the header's body, prepared for folding into a final header value.
MailboxHeader::getBodyAsString in vendor/symfony/mime/Header/MailboxHeader.php
Gets the header's body, prepared for folding into a final header value.
MailboxListHeader::getBodyAsString in vendor/symfony/mime/Header/MailboxListHeader.php
Gets the header's body, prepared for folding into a final header value.
PathHeader::getBodyAsString in vendor/symfony/mime/Header/PathHeader.php
Gets the header's body, prepared for folding into a final header value.

... See full list

File

vendor/symfony/mime/Header/HeaderInterface.php, line 60

Class

HeaderInterface
A MIME Header.

Namespace

Symfony\Component\Mime\Header

Code

public function getBodyAsString() : string;

API Navigation

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