WeakReference::__construct
PHP function
Edit on GitHub ✎
(PHP 7 >= 7.4.0, PHP 8)
Constructor that disallows instantiation
Description
WeakReference::__construct()
This method exists only to disallow instantiation of the WeakReference class. Weak references are to be instantiated with the factory method WeakReference::create.
Parameters Parameters
See Also
WeakReference::create