WeakReference::__construct
(PHP 7 >= 7.4.0)
WeakReference::__construct — Constructor that disallows instantiation
説明
public WeakReference::__construct
( void
)
This method exists only to disallow instantiation of the WeakReference class. Weak references are to be instantiated with the factory method WeakReference::create().
パラメータ
この関数にはパラメータはありません。
参考
- WeakReference::create() - Create a new weak reference