ReflectionMethod::getClosure

(PHP 5 >= 5.4.0, PHP 7)

ReflectionMethod::getClosureReturns a dynamically created closure for the method

Descrierea

public ReflectionMethod::getClosure ( object $object ) : Closure
public ReflectionMethod::getClosure ( ) : Closure

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.