Lazy_String::__unserialize( array $data )
PHP 8.0+ compatible implementation of the unserialization logic.
Contents
Parameters
- $data
-
(array) (Required) The data to unserialize.
Source
File: src/Tribe/Utils/Lazy_String.php
public function __unserialize( array $data ): void {
$this->string = $data['string'] ?? null;
$this->escaped = $data['escaped'] ?? null;
}
Changelog
| Version | Description |
|---|---|
| 5.0.6 | Introduced. |