ReflectionFunction::__toString
ReflectionFunctionAbstract::__clone
反射
在线手册:
中文
英文
PHP手册
ReflectionFunctionAbstract 类
(PHP 5)
简介
ReflectionFunction
的父类,详情请阅读它的描述。
类摘要
ReflectionFunctionAbstract
implements
Reflector
{
/* 属性 */
public
$
name
;
/* 方法 */
final
private
void
__clone
(
void
)
public
ReflectionClass
getClosureScopeClass
(
void
)
public
object
getClosureThis
(
void
)
public
string
getDocComment
(
void
)
public
int
getEndLine
(
void
)
public
ReflectionExtension
getExtension
(
void
)
public
string
getExtensionName
(
void
)
public
string
getFileName
(
void
)
public
string
getName
(
void
)
public
string
getNamespaceName
(
void
)
public
int
getNumberOfParameters
(
void
)
public
int
getNumberOfRequiredParameters
(
void
)
public
array
getParameters
(
void
)
public
string
getShortName
(
void
)
public
int
getStartLine
(
void
)
public
array
getStaticVariables
(
void
)
public
bool
inNamespace
(
void
)
public
bool
isClosure
(
void
)
public
bool
isDeprecated
(
void
)
public
bool
isGenerator
(
void
)
public
bool
isInternal
(
void
)
public
bool
isUserDefined
(
void
)
public
bool
returnsReference
(
void
)
abstract
public
void
__toString
(
void
)
}
属性
name
函数的名称。只读,尝试赋值的时候将会抛出
ReflectionException
。
Table of Contents
ReflectionFunctionAbstract::__clone
— Clones function
ReflectionFunctionAbstract::getClosureScopeClass
— Returns the scope associated to the closure
ReflectionFunctionAbstract::getClosureThis
— Returns this pointer bound to closure
ReflectionFunctionAbstract::getDocComment
— Gets doc comment
ReflectionFunctionAbstract::getEndLine
— Gets end line number
ReflectionFunctionAbstract::getExtension
— Gets extension info
ReflectionFunctionAbstract::getExtensionName
— Gets extension name
ReflectionFunctionAbstract::getFileName
— Gets file name
ReflectionFunctionAbstract::getName
— Gets function name
ReflectionFunctionAbstract::getNamespaceName
— Gets namespace name
ReflectionFunctionAbstract::getNumberOfParameters
— Gets number of parameters
ReflectionFunctionAbstract::getNumberOfRequiredParameters
— Gets number of required parameters
ReflectionFunctionAbstract::getParameters
— Gets parameters
ReflectionFunctionAbstract::getShortName
— Gets function short name
ReflectionFunctionAbstract::getStartLine
— Gets starting line number
ReflectionFunctionAbstract::getStaticVariables
— Gets static variables
ReflectionFunctionAbstract::inNamespace
— Checks if function in namespace
ReflectionFunctionAbstract::isClosure
— Checks if closure
ReflectionFunctionAbstract::isDeprecated
— Checks if deprecated
ReflectionFunctionAbstract::isGenerator
— Returns whether this function is a generator
ReflectionFunctionAbstract::isInternal
— Checks if is internal
ReflectionFunctionAbstract::isUserDefined
— Checks if user defined
ReflectionFunctionAbstract::returnsReference
— Checks if returns reference
ReflectionFunctionAbstract::__toString
— To string
ReflectionFunction::__toString
ReflectionFunctionAbstract::__clone
反射
在线手册:
中文
英文
PHP手册