PHP Unconference Europe 2015

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

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top