Lazy_String::__serialize()
PHP 8.0+ compatible implementation of the serialization logic.
Return
(array) The data to serialize.
Source
File: src/Tribe/Utils/Lazy_String.php
public function __serialize(): array {
return [
'string' => $this->__toString(),
'escaped' => $this->escaped(),
];
}
Changelog
| Version | Description |
|---|---|
| 5.0.6 | Introduced. |