ReflectionMethod
PHP 手册

ReflectionMethod::export

(PHP 5)

ReflectionMethod::exportExport

说明

public static string ReflectionMethod::export ( string $class , string $name [, bool $return = false ] )

Exports a ReflectionMethod.

Warning

本函数暂无文档,仅有参数列表。

参数

class

The class name.

name

The name of the method.

return

Setting to TRUE will return the export, as opposed to emitting it. Setting to FALSE (the default) will do the opposite.

返回值

If the return parameter is set to TRUE, then the export is returned as a string, otherwise NULL is returned.

参见


ReflectionMethod
PHP 手册