用於禁止實例化的建構函式

Closure::__construct

(PHP 5 >= 5.3.0, PHP 7, PHP 8)

Closure::__construct用於禁止實例化的建構函式

說明

private Closure::__construct()

這個方法僅用於禁止實例化一個 Closure 類的對象。這個類的對象的建立方法寫在 匿名函式 頁。

參數

此函式沒有參數。

Leave a Reply

Your email address will not be published. Required fields are marked *