Reflection::export()
(PHP 5, PHP 7)
Exports
说明
public static Reflection::export(Reflector$reflector[,bool $return= false]): string
导出一个反射(reflection)。
Warning本函数还未编写文档,仅有参数列表。
参数
- $reflector
导出的反射。
- $return
设为
TRUE
时返回导出结果,设为FALSE
(默认值)则忽略返回。
返回值
如果参数$return设为TRUE
,导出结果将作为string返回,否则返回NULL
。
参见
- Reflection::getModifierNames() 获取修饰符的名称