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

Breadcrumb

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

function AbstractMultipartPart::getPreparedHeaders

Overrides AbstractPart::getPreparedHeaders

File

vendor/symfony/mime/Part/AbstractMultipartPart.php, line 46

Class

AbstractMultipartPart
@author Fabien Potencier <fabien@symfony.com>

Namespace

Symfony\Component\Mime\Part

Code

public function getPreparedHeaders() : Headers {
    $headers = parent::getPreparedHeaders();
    $headers->setHeaderParameter('Content-Type', 'boundary', $this->getBoundary());
    return $headers;
}

API Navigation

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