Class CachingFileScanner

Summary

Fully Qualified Name: Zend\Code\Scanner\CachingFileScanner
Extends: FileScanner

Description

Methods

Name Description Defined By
__construct() CachingFileScanner
__toString() TokenArrayScanner
clearCache() CachingFileScanner
export() Export TokenArrayScanner
getAnnotationManager() CachingFileScanner
getClass() CachingFileScanner
getClassNameInformation() CachingFileScanner
getClassNames() CachingFileScanner
getClasses() CachingFileScanner
getDocComment() CachingFileScanner
getFile() CachingFileScanner
getFunctionNames() CachingFileScanner
getFunctions() CachingFileScanner
getIncludes() CachingFileScanner
getNamespaces() CachingFileScanner
getUses() CachingFileScanner
hasNamespace() Check for namespace TokenArrayScanner

Method Details

__construct()

Parameter Name Type Description
$file string
$annotationManager \AnnotationManager

Returns:

__toString()

Returns: void

clearCache()

Returns: void

export()

Export

Parameter Name Type Description
$tokens
$tokens

Returns:

getAnnotationManager()

Returns: \AnnotationManager

getClass()

Parameter Name Type Description
$className int|string

Returns: \ClassScanner

getClassNameInformation()

Parameter Name Type Description
$className string

Returns: bool|null|\NameInformation

getClassNames()

Returns: array

getClasses()

Returns: array

getDocComment()

Returns: null|string

getFile()

Returns: array|null|string

getFunctionNames()

Returns: array

getFunctions()

Returns: array

getIncludes()

Returns: array

getNamespaces()

Returns: array

getUses()

Parameter Name Type Description
$namespace null|string

Returns: array|null

hasNamespace()

Check for namespace

Parameter Name Type Description
$namespace string

Returns: bool

Top