Zend Framework
3.0
|
Public Member Functions | |
getDeclaringFile () | |
Return the reflection file of the declaring file. | |
getDocBlock () | |
Return the classes DocBlock reflection object. | |
getAnnotations (AnnotationManager $annotationManager) | |
getStartLine ($includeDocComment=false) | |
Return the start line of the class. | |
getContents ($includeDocBlock=true) | |
Return the contents of the class. | |
getInterfaces () | |
Get all reflection objects of implemented interfaces. | |
getMethod ($name) | |
Return method reflection by name. | |
getMethods ($filter=-1) | |
Get reflection objects of all methods. | |
getTraits () | |
Returns an array of reflection classes of traits used by this class. | |
getParentClass () | |
Get parent reflection class of reflected class. | |
getProperty ($name) | |
Return reflection property of this class by name. | |
getProperties ($filter=-1) | |
Return reflection properties of this class. | |
toString () | |
__toString () | |
Protected Member Functions | |
createFileScanner ($filename) | |
Creates a new FileScanner instance. | |
Protected Attributes | |
$annotations = null | |
$docBlock = null | |
__toString | ( | ) |
|
protected |
Creates a new FileScanner instance.
By having this as a seperate method it allows the method to be overridden if a different FileScanner is needed.
string | $filename |
getAnnotations | ( | AnnotationManager | $annotationManager | ) |
AnnotationManager | $annotationManager |
getContents | ( | $includeDocBlock = true | ) |
Return the contents of the class.
bool | $includeDocBlock |
getDeclaringFile | ( | ) |
Return the reflection file of the declaring file.
getDocBlock | ( | ) |
Return the classes DocBlock reflection object.
Exception\ExceptionInterface | for missing DocBock or invalid reflection class |
getInterfaces | ( | ) |
Get all reflection objects of implemented interfaces.
getMethod | ( | $name | ) |
getMethods | ( | $filter = -1 | ) |
getParentClass | ( | ) |
Get parent reflection class of reflected class.
getProperties | ( | $filter = -1 | ) |
getProperty | ( | $name | ) |
getStartLine | ( | $includeDocComment = false | ) |
Return the start line of the class.
bool | $includeDocComment |
getTraits | ( | ) |
Returns an array of reflection classes of traits used by this class.
toString | ( | ) |
Implements ReflectionInterface.
|
protected |
|
protected |