1526. Class

1526.1. Zend\Code\Reflection\MethodReflection

1526.1.1. Methods

1526.1.1.1. getDocBlock

getDocBlock()

Retrieve method DocBlock reflection

Return type:DocBlockReflection|false

1526.1.1.2. getAnnotations

getAnnotations()

@param AnnotationManager $annotationManager

Return type:AnnotationScanner

1526.1.1.3. getStartLine

getStartLine()

Get start line (position) of method

Parameters:bool
Return type:int

1526.1.1.4. getDeclaringClass

getDeclaringClass()

Get reflection of declaring class

Return type:ClassReflection

1526.1.1.5. getParameters

getParameters()

Get all method parameter reflection objects

Return type:ParameterReflection[]

1526.1.1.6. getContents

getContents()

Get method contents

Parameters:bool
Return type:string

1526.1.1.7. getBody

getBody()

Get method body

Return type:string

1526.1.1.8. toString

toString()

1526.1.1.9. __toString

__toString()