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

Breadcrumb

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

function ParameterizedHeader::getBodyAsString

Overrides UnstructuredHeader::getBodyAsString

File

vendor/symfony/mime/Header/ParameterizedHeader.php, line 70

Class

ParameterizedHeader
@author Chris Corbyn

Namespace

Symfony\Component\Mime\Header

Code

public function getBodyAsString() : string {
    $body = parent::getBodyAsString();
    foreach ($this->parameters as $name => $value) {
        if (null !== $value) {
            $body .= '; ' . $this->createParameter($name, $value);
        }
    }
    return $body;
}

API Navigation

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