The ReflectionFunctionAbstract class

Introduction

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

Class synopsis

abstract ReflectionFunctionAbstract
implements Reflector
/* Properties */
public string $name;
/* Methods */
private void __clone()
public array getAttributes(stringnull $name = null, int $flags = 0)
public ReflectionClassnull getClosureCalledClass()
public ReflectionClassnull getClosureScopeClass()
public objectnull getClosureThis()
public array getClosureUsedVariables()
public stringfalse getDocComment()
public intfalse getEndLine()
public ReflectionExtensionnull getExtension()
public stringfalse getExtensionName()
public stringfalse getFileName()
public string getName()
public string getNamespaceName()
public int getNumberOfParameters()
public int getNumberOfRequiredParameters()
public array getParameters()
public ReflectionTypenull getReturnType()
public string getShortName()
public intfalse getStartLine()
public array getStaticVariables()
public ReflectionTypenull getTentativeReturnType()
public bool hasReturnType()
public bool hasTentativeReturnType()
public bool inNamespace()
public bool isClosure()
public bool isDeprecated()
public bool isGenerator()
public bool isInternal()
public bool isStatic()
public bool isUserDefined()
public bool isVariadic()
public bool returnsReference()
abstract public void __toString()

Properties

name

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

Table of Contents