ReflectionMethod
PHP Manual

ReflectionMethod::getClosure

(PHP >= 5.4.0)

ReflectionMethod::getClosureReturns a dynamically created closure for the method

Descrierea

public Closure ReflectionMethod::getClosure ( object $object )

Avertizare

Această funcție nu este documentată în prezent; este disponibilă numai lista sa de argumente.

Parametri

object

Forbidden for static methods, required for other methods.

Valorile întoarse

Returns Closure. Returns NULL in case of an error.


ReflectionMethod
PHP Manual