PropertyReflection
extends ReflectionProperty
in package
implements
ReflectionInterface
Tags
Interfaces, Classes, Traits and Enums
Table of Contents
- $annotations : AnnotationScanner
- getAnnotations() : AnnotationScanner|false
- getDeclaringClass() : ClassReflection
- Get declaring class reflection object
- getDocBlock() : false|DocBlockReflection
- getDocComment() : string|false
- Get DocBlock comment
- toString() : string
- createFileScanner() : CachingFileScanner
- Creates a new FileScanner instance.
Properties
$annotations
protected
AnnotationScanner
$annotations
Methods
getAnnotations()
public
getAnnotations(AnnotationManager $annotationManager) : AnnotationScanner|false
Parameters
- $annotationManager : AnnotationManager
Return values
AnnotationScanner|false —getDeclaringClass()
Get declaring class reflection object
public
getDeclaringClass() : ClassReflection
Return values
ClassReflection —getDocBlock()
public
getDocBlock() : false|DocBlockReflection
Return values
false|DocBlockReflection —getDocComment()
Get DocBlock comment
public
getDocComment() : string|false
Return values
string|false —False if no DocBlock defined
toString()
public
toString() : string
Return values
string —createFileScanner()
Creates a new FileScanner instance.
protected
createFileScanner(string $filename) : CachingFileScanner
By having this as a separate method it allows the method to be overridden if a different FileScanner is needed.
Parameters
- $filename : string