Documentation

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

$destructorCallbacks  : ObjectSet
__destruct()  : mixed
getDestructorCallbacks()  : ObjectSet

Properties

Methods

Search results