Lazy_String::__serialize()

PHP 8.0+ compatible implementation of the serialization logic.


Return

(array) The data to serialize.


Top ↑

Source

File: src/Tribe/Utils/Lazy_String.php

	public function __serialize(): array {
		return [
			'string'  => $this->__toString(),
			'escaped' => $this->escaped(),
		];
	}

Top ↑

Changelog

Changelog
Version Description
5.0.6 Introduced.