DestructorCallbackTrait
This trait provides destructor callback functionality to objects which use it. This enables a weakmap-like system to function without actually having weak maps.
TODO: remove this in PHP 8
Table of Contents
Properties
$destructorCallbacks
private
ObjectSet
$destructorCallbacks
= null
Tags
Methods
__destruct()
public
__destruct() : mixed
Return values
mixed —getDestructorCallbacks()
public
getDestructorCallbacks() : ObjectSet