1522. Class

1522.1. Zend\Code\Reflection\ClassReflection

1522.1.1. Methods

1522.1.1.1. getDeclaringFile

getDeclaringFile()

Return the reflection file of the declaring file.

Return type:FileReflection

1522.1.1.2. getDocBlock

getDocBlock()

Return the classes DocBlock reflection object

Return type:DocBlockReflection
Throws :ExceptionExceptionInterface for missing DocBock or invalid reflection class

1522.1.1.3. getAnnotations

getAnnotations()

@param AnnotationManager $annotationManager

Return type:AnnotationCollection

1522.1.1.4. getStartLine

getStartLine()

Return the start line of the class

Parameters:bool
Return type:int

1522.1.1.5. getContents

getContents()

Return the contents of the class

Parameters:bool
Return type:string

1522.1.1.6. getInterfaces

getInterfaces()

Get all reflection objects of implemented interfaces

Return type:ClassReflection[]

1522.1.1.7. getMethod

getMethod()

Return method reflection by name

Parameters:string
Return type:MethodReflection

1522.1.1.8. getMethods

getMethods()

Get reflection objects of all methods

Parameters:string
Return type:MethodReflection[]

1522.1.1.9. getParentClass

getParentClass()

Get parent reflection class of reflected class

Return type:ClassReflection|bool

1522.1.1.10. getProperty

getProperty()

Return reflection property of this class by name

Parameters:string
Return type:PropertyReflection

1522.1.1.11. getProperties

getProperties()

Return reflection properties of this class

Parameters:int
Return type:PropertyReflection[]

1522.1.1.12. toString

toString()

1522.1.1.13. __toString

__toString()