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

Breadcrumb

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

function UnicodeString::__wakeup

File

vendor/symfony/string/UnicodeString.php, line 365

Class

UnicodeString
Represents a string of Unicode grapheme clusters encoded as UTF-8.

Namespace

Symfony\Component\String

Code

public function __wakeup() : void {
    if (!\is_string($this->string)) {
        throw new \BadMethodCallException('Cannot unserialize ' . __CLASS__);
    }
    normalizer_is_normalized($this->string) ?: ($this->string = normalizer_normalize($this->string));
}
RSS feed
Powered by Drupal