ReflectionMethod
PHP Manual

ReflectionMethod::getClosure

(PHP >= 5.4.0)

ReflectionMethod::getClosureReturns a dynamically created closure for the method

说明

public Closure ReflectionMethod::getClosure ( object $object )

Warning

本函数还未编写文档,仅有参数列表。

参数

object

Forbidden for static methods, required for other methods.

返回值

Returns Closure. Returns NULL in case of an error.


ReflectionMethod
PHP Manual