__construct()
__toString()
export()
getClass()
getClasses()
getContents()
getDocBlock()
getDocComment()
getEndLine()
getFileName()
getFunctions()
getNamespace()
getNamespaces()
getStartLine()
getUses()
toString()
checkFileDocBlock()
reflect()
$classes
$contents
$docComment
$endLine
$filePath
$functions
$namespaces
$requiredFiles
$startLine
$uses
__construct(string $filename)
__toString() : string
Required by the Reflector interface
| todo | What should this serialization look like? |
|---|
stringexport() : null
| todo | What should this do? |
|---|
nullgetClass(null | string $name) : \Zend\Code\Reflection\ClassReflection
nullstring
\Zend\Code\Reflection\Exception\InvalidArgumentException |
for invalid class name or invalid reflection class |
|---|
getClasses() : \Zend\Code\Reflection\ClassReflection[]
getContents() : string
stringgetDocBlock() : \Zend\Code\Reflection\DocBlockReflection
getDocComment() : string
stringgetEndLine() : int
intgetFileName() : string
stringgetFunctions() : \Zend\Code\Reflection\FunctionReflection[]
getNamespace() : string
stringgetNamespaces() : array
arraygetStartLine() : int
intgetUses() : array
arraytoString()
checkFileDocBlock(array $tokens) : void
arrayArray of tokenizer tokens
reflect() : void
Uses Zend\Code\Scanner\FileScanner to gather file information
$classes : \Zend\Code\Reflection\ReflectionClass[]
$contents : string
$docComment : string
$endLine : int
$filePath : string
$namespaces : string
$requiredFiles : array
$startLine : int
$uses : array