__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? |
---|
string
export() : null
todo | What should this do? |
---|
null
getClass(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
string
getDocBlock() : \Zend\Code\Reflection\DocBlockReflection
getDocComment() : string
string
getEndLine() : int
int
getFileName() : string
string
getFunctions() : \Zend\Code\Reflection\FunctionReflection[]
getNamespace() : string
string
getNamespaces() : array
array
getStartLine() : int
int
getUses() : array
array
toString()
checkFileDocBlock(array $tokens) : void
array
Array 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