Methods

__construct()

__construct() 

inherited_from ReflectionMethod::__construct()

__toString()

__toString() 

export()

export() 

inherited_from ReflectionMethod::export()

getAnnotations()

getAnnotations(\Zend\Code\Annotation\AnnotationManager $annotationManager) : \Zend\Code\Scanner\AnnotationScanner

Get method body

getBody() : string

Returns

string

getClosure()

getClosure() 

inherited_from ReflectionMethod::getClosure()

getClosureScopeClass()

getClosureScopeClass() 

inherited_from ReflectionFunctionAbstract::getClosureScopeClass()

getClosureThis()

getClosureThis() 

inherited_from ReflectionFunctionAbstract::getClosureThis()

Get method contents

getContents(bool $includeDocBlock) : string

Parameters

$includeDocBlock

bool

Returns

string

Get reflection of declaring class

getDeclaringClass() : \Zend\Code\Reflection\ClassReflection

Retrieve method DocBlock reflection

getDocBlock() : \Zend\Code\Reflection\DocBlockReflection | false

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()

getModifiers()

getModifiers() 

inherited_from ReflectionMethod::getModifiers()

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 all method parameter reflection objects

getParameters() : \Zend\Code\Reflection\ParameterReflection[]

getPrototype()

getPrototype() 

inherited_from ReflectionMethod::getPrototype()

getShortName()

getShortName() 

inherited_from ReflectionFunctionAbstract::getShortName()

Get start line (position) of method

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 ReflectionMethod::invoke()

invokeArgs()

invokeArgs() 

inherited_from ReflectionMethod::invokeArgs()

isAbstract()

isAbstract() 

inherited_from ReflectionMethod::isAbstract()

isClosure()

isClosure() 

inherited_from ReflectionFunctionAbstract::isClosure()

isConstructor()

isConstructor() 

inherited_from ReflectionMethod::isConstructor()

isDeprecated()

isDeprecated() 

inherited_from ReflectionFunctionAbstract::isDeprecated()

isDestructor()

isDestructor() 

inherited_from ReflectionMethod::isDestructor()

isFinal()

isFinal() 

inherited_from ReflectionMethod::isFinal()

isInternal()

isInternal() 

inherited_from ReflectionFunctionAbstract::isInternal()

isPrivate()

isPrivate() 

inherited_from ReflectionMethod::isPrivate()

isProtected()

isProtected() 

inherited_from ReflectionMethod::isProtected()

isPublic()

isPublic() 

inherited_from ReflectionMethod::isPublic()

isStatic()

isStatic() 

inherited_from ReflectionMethod::isStatic()

isUserDefined()

isUserDefined() 

inherited_from ReflectionFunctionAbstract::isUserDefined()

returnsReference()

returnsReference() 

inherited_from ReflectionFunctionAbstract::returnsReference()

setAccessible()

setAccessible() 

inherited_from ReflectionMethod::setAccessible()

toString()

toString() 

 Properties

 

$annotations

$annotations : \Zend\Code\Scanner\AnnotationScanner