The ReflectionFunctionAbstract class

(PHP 5 >= 5.2.0, PHP 7)

Introduction

A parent class to ReflectionFunction, read its description for details.

Class synopsis

ReflectionFunctionAbstract implements Reflector {
/* Properties */
public $name ;
/* Methods */
final private __clone ( ) : void
public getClosureThis ( ) : object|null
public getDocComment ( ) : string|false
public getEndLine ( ) : int|false
public getExtensionName ( ) : string|false
public getFileName ( ) : string|false
public getName ( ) : string
public getNamespaceName ( ) : string
public getNumberOfParameters ( ) : int
public getParameters ( ) : array
public getReturnType ( ) : ReflectionType|null
public getShortName ( ) : string
public getStartLine ( ) : int|false
public getStaticVariables ( ) : array
public hasReturnType ( ) : bool
public inNamespace ( ) : bool
public isClosure ( ) : bool
public isDeprecated ( ) : bool
public isGenerator ( ) : bool
public isInternal ( ) : bool
public isUserDefined ( ) : bool
public isVariadic ( ) : bool
public returnsReference ( ) : bool
abstract public __toString ( ) : void
}

Properties

name

Name of the function. Read-only, throws ReflectionException in attempt to write.

Table of Contents

add a note add a note

User Contributed Notes

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