ReflectionMethod::getClosure

(PHP 5 >= 5.4.0, PHP 7)

ReflectionMethod::getClosureReturns a dynamically created closure for the method

Açıklama

public ReflectionMethod::getClosure ( object|null $object = null ) : Closure

Uyarı

Bu işlev hala belgelendirilmemiştir; sadece değiştirge listesi mevcuttur.

Değiştirgeler

object

Forbidden for static methods, required for other methods.

Dönen Değerler

Returns Closure. Returns null in case of an error.

Sürüm Bilgisi

Sürüm: Açıklama
8.0.0 object is now nullable.