ReflectionMethod::export
(PHP 5, PHP 7)
ReflectionMethod::export — 输出一个回调方法
说明
public static ReflectionMethod::export(string
$class
, string $name
, bool $return
= false): stringExports a ReflectionMethod.
警告
本函数还未编写文档,仅有参数列表。
参数
-
class
-
类名称
-
name
-
方法名称
-
return
-
设为
true
时返回导出结果,设为false
(默认值)则忽略返回。
返回值
如果参数 return
设为 true
,导出结果将作为 string
返回,否则返回 null
。
参见
- ReflectionMethod::__construct() - ReflectionMethod 的构造函数
- ReflectionMethod::__toString() - 返回反射方法对象的字符串表达

User Contributed Notes
There are no user contributed notes for this page.
备份地址:http://www.lvesu.com/blog/php/reflectionmethod.export.php