WeakReference::__construct

(PHP 7 >= 7.4.0, PHP 8)

WeakReference::__construct — コンストラクタを使ってインスタンス化はできません

説明

public function WeakReference::__construct()

このメソッドは、WeakReference クラスの インスタンス化を禁止するためだけに存在しています。 WeakReference は、 ファクトリメソッド WeakReference::create() を使ってインスタンス化されることになっています。

パラメータ

この関数にはパラメータはありません。

参考

+add a note

User Contributed Notes

There are no user contributed notes for this page.