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

Breadcrumb

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

function SMimePart::bodyToString

Overrides AbstractPart::bodyToString

1 call to SMimePart::bodyToString()
SMimePart::__sleep in vendor/symfony/mime/Part/SMimePart.php

File

vendor/symfony/mime/Part/SMimePart.php, line 43

Class

SMimePart
@author Sebastiaan Stok <s.stok@rollerscapes.net>

Namespace

Symfony\Component\Mime\Part

Code

public function bodyToString() : string {
    if (\is_string($this->body)) {
        return $this->body;
    }
    $body = '';
    foreach ($this->body as $chunk) {
        $body .= $chunk;
    }
    $this->body = $body;
    return $body;
}

API Navigation

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