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

Breadcrumb

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

function AbstractMultipartPart::asDebugString

Overrides AbstractPart::asDebugString

File

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

Class

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

Namespace

Symfony\Component\Mime\Part

Code

public function asDebugString() : string {
    $str = parent::asDebugString();
    foreach ($this->getParts() as $part) {
        $lines = explode("\n", $part->asDebugString());
        $str .= "\n  └ " . array_shift($lines);
        foreach ($lines as $line) {
            $str .= "\n  |" . $line;
        }
    }
    return $str;
}

API Navigation

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