ReflectionFunctionAbstract 类
(PHP 5 >= 5.2.0, PHP 7, PHP 8)
简介
ReflectionFunction 的父类,详情请阅读它的描述。
类摘要
/* 属性 */
/* 方法 */
}属性
- name
-
函数名。只读,尝试赋值的时候将会抛出 ReflectionException。
目录
- ReflectionFunctionAbstract::__clone — 复制函数
- ReflectionFunctionAbstract::getAttributes — Gets Attributes
- ReflectionFunctionAbstract::getClosureCalledClass — Returns the class corresponding to static:: inside a closure
- ReflectionFunctionAbstract::getClosureScopeClass — Returns the class corresponding to the scope inside a closure
- ReflectionFunctionAbstract::getClosureThis — 返回闭包内与 $this 对应的对象
- ReflectionFunctionAbstract::getClosureUsedVariables — Returns an array of the used variables in the Closure
- ReflectionFunctionAbstract::getDocComment — 获取注释内容
- ReflectionFunctionAbstract::getEndLine — 获取结束行号
- ReflectionFunctionAbstract::getExtension — 获取扩展信息
- ReflectionFunctionAbstract::getExtensionName — 获取扩展名称
- ReflectionFunctionAbstract::getFileName — 获取文件名称
- ReflectionFunctionAbstract::getName — 获取函数名称
- ReflectionFunctionAbstract::getNamespaceName — 获取命名空间
- ReflectionFunctionAbstract::getNumberOfParameters — 获取参数数目
- ReflectionFunctionAbstract::getNumberOfRequiredParameters — 获取必须输入参数个数
- ReflectionFunctionAbstract::getParameters — 获取参数
- ReflectionFunctionAbstract::getReturnType — Gets the specified return type of a function
- ReflectionFunctionAbstract::getShortName — 获取函数短名称
- ReflectionFunctionAbstract::getStartLine — 获取开始行号
- ReflectionFunctionAbstract::getStaticVariables — 获取静态变量
- ReflectionFunctionAbstract::getTentativeReturnType — Returns the tentative return type associated with the function
- ReflectionFunctionAbstract::hasReturnType — Checks if the function has a specified return type
- ReflectionFunctionAbstract::hasTentativeReturnType — Returns whether the function has a tentative return type
- ReflectionFunctionAbstract::inNamespace — 检查是否处于命名空间
- ReflectionFunctionAbstract::isClosure — 检查是否是匿名函数
- ReflectionFunctionAbstract::isDeprecated — 检查是否已经弃用
- ReflectionFunctionAbstract::isGenerator — 判断函数是否是一个生成器函数
- ReflectionFunctionAbstract::isInternal — 判断函数是否是内置函数
- ReflectionFunctionAbstract::isStatic — 判断函数是否为 static
- ReflectionFunctionAbstract::isUserDefined — 检查是否是用户定义
- ReflectionFunctionAbstract::isVariadic — Checks if the function is variadic
- ReflectionFunctionAbstract::returnsReference — 检查是否返回引用
- ReflectionFunctionAbstract::__toString — 返回表示 ReflectionFunctionAbstract 对象的字符串
+添加备注
用户贡献的备注
此页面尚无用户贡献的备注。
备份地址:http://www.lvesu.com/blog/php/class.reflectionfunctionabstract.php