Fully Qualified Name: | Zend\Code\Reflection\ClassReflection |
Extends: | ReflectionClass |
Implements: | ReflectionInterface |
Name | Description | Defined By |
---|---|---|
__toString() | ClassReflection | |
getAnnotations() | ClassReflection | |
getContents() | Return the contents of the class | ClassReflection |
getDeclaringFile() | Return the reflection file of the declaring file. | ClassReflection |
getDocBlock() | Return the classes DocBlock reflection object | ClassReflection |
getInterfaces() | Get all reflection objects of implemented interfaces | ClassReflection |
getMethod() | Return method reflection by name | ClassReflection |
getMethods() | Get reflection objects of all methods | ClassReflection |
getParentClass() | Get parent reflection class of reflected class | ClassReflection |
getProperties() | Return reflection properties of this class | ClassReflection |
getProperty() | Return reflection property of this class by name | ClassReflection |
getStartLine() | Return the start line of the class | ClassReflection |
getTraits() | Returns an array of reflection classes of traits used by this class. | ClassReflection |
toString() | ClassReflection |
Returns: string
Parameter Name | Type | Description |
---|---|---|
$annotationManager | \AnnotationManager |
Returns: \AnnotationCollection
Return the contents of the class
Parameter Name | Type | Description |
---|---|---|
$includeDocBlock | bool |
Returns: string
Return the reflection file of the declaring file.
Returns: \FileReflection
Return the classes DocBlock reflection object
Returns: \DocBlockReflection
Get all reflection objects of implemented interfaces
Returns: \ClassReflection[]
Return method reflection by name
Parameter Name | Type | Description |
---|---|---|
$name | string |
Returns: \MethodReflection
Get reflection objects of all methods
Parameter Name | Type | Description |
---|---|---|
$filter | int |
Returns: \MethodReflection[]
Get parent reflection class of reflected class
Returns: \ClassReflection|bool
Return reflection properties of this class
Parameter Name | Type | Description |
---|---|---|
$filter | int |
Returns: \PropertyReflection[]
Return reflection property of this class by name
Parameter Name | Type | Description |
---|---|---|
$name | string |
Returns: \PropertyReflection
Return the start line of the class
Parameter Name | Type | Description |
---|---|---|
$includeDocComment | bool |
Returns: int
Returns an array of reflection classes of traits used by this class.
Returns: array|null
Returns: string