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

Breadcrumb

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

function TextPart::__wakeup

1 method overrides TextPart::__wakeup()
DataPart::__wakeup in vendor/symfony/mime/Part/DataPart.php

File

vendor/symfony/mime/Part/TextPart.php, line 254

Class

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

Namespace

Symfony\Component\Mime\Part

Code

public function __wakeup() : void {
    $r = new \ReflectionProperty(AbstractPart::class, 'headers');
    $r->setValue($this, $this->_headers);
    unset($this->_headers);
}
RSS feed
Powered by Drupal