Methods

__construct()

__construct() 

inherited_from ReflectionFunction::__construct()

Required due to bug in php

__toString() : string

Returns

string

export()

export() 

inherited_from ReflectionFunction::export()

Get method body

getBody() : string | bool

Returns

stringbool

getClosure()

getClosure() 

inherited_from ReflectionFunction::getClosure()

getClosureScopeClass()

getClosureScopeClass() 

inherited_from ReflectionFunctionAbstract::getClosureScopeClass()

getClosureThis()

getClosureThis() 

inherited_from ReflectionFunctionAbstract::getClosureThis()

Get contents of function

getContents(bool $includeDocBlock) : string

Parameters

$includeDocBlock

bool

Returns

string

getDocComment()

getDocComment() 

inherited_from ReflectionFunctionAbstract::getDocComment()

getEndLine()

getEndLine() 

inherited_from ReflectionFunctionAbstract::getEndLine()

getExtension()

getExtension() 

inherited_from ReflectionFunctionAbstract::getExtension()

getExtensionName()

getExtensionName() 

inherited_from ReflectionFunctionAbstract::getExtensionName()

getFileName()

getFileName() 

inherited_from ReflectionFunctionAbstract::getFileName()

getName()

getName() 

inherited_from ReflectionFunctionAbstract::getName()

getNamespaceName()

getNamespaceName() 

inherited_from ReflectionFunctionAbstract::getNamespaceName()

getNumberOfParameters()

getNumberOfParameters() 

inherited_from ReflectionFunctionAbstract::getNumberOfParameters()

getNumberOfRequiredParameters()

getNumberOfRequiredParameters() 

inherited_from ReflectionFunctionAbstract::getNumberOfRequiredParameters()

Get method prototype

getPrototype($format) : array

Parameters

$format

Returns

array

getShortName()

getShortName() 

inherited_from ReflectionFunctionAbstract::getShortName()

Get start line (position) of function

getStartLine(bool $includeDocComment) : int

Parameters

$includeDocComment

bool

Returns

int

getStaticVariables()

getStaticVariables() 

inherited_from ReflectionFunctionAbstract::getStaticVariables()

inNamespace()

inNamespace() 

inherited_from ReflectionFunctionAbstract::inNamespace()

invoke()

invoke() 

inherited_from ReflectionFunction::invoke()

invokeArgs()

invokeArgs() 

inherited_from ReflectionFunction::invokeArgs()

isClosure()

isClosure() 

inherited_from ReflectionFunctionAbstract::isClosure()

isDeprecated()

isDeprecated() 

inherited_from ReflectionFunctionAbstract::isDeprecated()

isDisabled()

isDisabled() 

inherited_from ReflectionFunction::isDisabled()

isGenerator()

isGenerator() 

inherited_from ReflectionFunctionAbstract::isGenerator()

isInternal()

isInternal() 

inherited_from ReflectionFunctionAbstract::isInternal()

isUserDefined()

isUserDefined() 

inherited_from ReflectionFunctionAbstract::isUserDefined()

returnsReference()

returnsReference() 

inherited_from ReflectionFunctionAbstract::returnsReference()

toString()

toString() : string

Returns

string

 Constants

 

Constant use in @MethodReflection to display prototype as an array

PROTOTYPE_AS_ARRAY 

 

Constant use in @MethodReflection to display prototype as a string

PROTOTYPE_AS_STRING