UnserializeMemoryUsageSuppressionTrait
Suppresses memory usage when unserializing objects.
Workaround for the problem that objects retrieved with \unserialize()
build unnecessary dynamic property tables, resulting in larger memory
consumption.
Tags
Table of Contents
Methods
- __unserialize() : void
Methods
__unserialize()
public
__unserialize(array<string|int, mixed> $properties) : void
Parameters
- $properties : array<string|int, mixed>