ReflectionMethod::getClosure

(PHP 5 >= 5.4.0, PHP 7)

ReflectionMethod::getClosureReturns a dynamically created closure for the method

Descrição

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

Aviso

Esta função não está documentada; somente a lista de argumentos está disponível.

Parâmetros

object

Forbidden for static methods, required for other methods.

Valor Retornado

Returns Closure. Returns null in case of an error.