todo implement line numbers
package Default

 Methods

getAnnotations()

getAnnotations(\Zend\Code\Annotation\AnnotationManager $annotationManager) : \Zend\Code\Scanner\AnnotationScanner

Parameters

$annotationManager

\Zend\Code\Annotation\AnnotationManager

Returns

\Zend\Code\Scanner\AnnotationScanner

Get declaring class reflection object

getDeclaringClass() : \Zend\Code\Reflection\ClassReflection

Returns

\Zend\Code\Reflection\ClassReflection

getDocBlock()

getDocBlock() : false | \Zend\Code\Reflection\DocBlockReflection

Returns

false\Zend\Code\Reflection\DocBlockReflection

Get DocBlock comment

getDocComment() : string | false

Returns

stringfalseFalse if no DocBlock defined

toString()

toString() : string

Returns

string

Creates a new FileScanner instance.

createFileScanner(string $filename) : \Zend\Code\Scanner\CachingFileScanner

By having this as a seperate method it allows the method to be overridden if a different FileScanner is needed.

Parameters

$filename

string

Returns

\Zend\Code\Scanner\CachingFileScanner

 Properties

 

$annotations

$annotations : \Zend\Code\Scanner\AnnotationScanner

Default