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 ) : void
public getClosureThis ( void ) : object
public getDocComment ( void ) : string
public getEndLine ( void ) : int
public getExtensionName ( void ) : string
public getFileName ( void ) : string
public getName ( void ) : string
public getNamespaceName ( void ) : string
public getNumberOfParameters ( void ) : int
public getNumberOfRequiredParameters ( void ) : int
public getParameters ( void ) : array
public getReturnType ( void ) : ReflectionType
public getShortName ( void ) : string
public getStartLine ( void ) : int
public getStaticVariables ( void ) : array
public hasReturnType ( void ) : bool
public inNamespace ( void ) : bool
public isClosure ( void ) : bool
public isDeprecated ( void ) : bool
public isGenerator ( void ) : bool
public isInternal ( void ) : bool
public isUserDefined ( void ) : bool
public isVariadic ( void ) : bool
public returnsReference ( void ) : bool
abstract public __toString ( void ) : void
}

Properties

name

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

Table of Contents