文字

ReflectionMethod::export

(PHP 5)

ReflectionMethod::export输出一个回调方法

说明

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

Exports a ReflectionMethod.

Warning

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

参数

class

类名称

name

方法名称

return

设为 TRUE 时返回导出结果,设为 FALSE (默认值)则忽略返回。

返回值

如果参数 return 设为 TRUE ,导出结果将作为 string 返回,否则返回 NULL

参见

  • ReflectionMethod::__construct() - ReflectionMethod 的构造函数
  • ReflectionMethod::__toString() - 返回反射方法对象的字符串表达
上一篇: 下一篇: