Zend Framework  3.0
Public Member Functions | Static Public Member Functions | Protected Attributes | Static Protected Attributes | List of all members
CachingFileScanner Class Reference

Public Member Functions

 __construct ($file, AnnotationManager $annotationManager=null)
 
 getAnnotationManager ()
 
 getFile ()
 
 getDocComment ()
 
 getNamespaces ()
 
 getUses ($namespace=null)
 
 getIncludes ()
 
 getClassNames ()
 
 getClasses ()
 
 getClass ($className)
 
 getClassNameInformation ($className)
 
 getFunctionNames ()
 
 getFunctions ()
 
- Public Member Functions inherited from FileScanner
 __construct ($file, AnnotationManager $annotationManager=null)
 
 getFile ()
 
- Public Member Functions inherited from TokenArrayScanner
 __construct ($tokens, AnnotationManager $annotationManager=null)
 
 getAnnotationManager ()
 
 getDocComment ()
 Get doc comment.
 
 getNamespaces ()
 
 getUses ($namespace=null)
 
 getIncludes ()
 
 getClassNames ()
 
 getClasses ()
 
 getClass ($name)
 Return the class object from this scanner.
 
 getClassNameInformation ($className)
 
 getFunctionNames ()
 
 getFunctions ()
 
 __toString ()
 
 hasNamespace ($namespace)
 Check for namespace.
 

Static Public Member Functions

static clearCache ()
 

Protected Attributes

 $fileScanner = null
 
- Protected Attributes inherited from FileScanner
 $file = null
 
- Protected Attributes inherited from TokenArrayScanner
 $isScanned = false
 
 $tokens = []
 
 $docComment = null
 
 $nameInformation = null
 
 $infos = []
 
 $annotationManager = null
 

Static Protected Attributes

static $cache = []
 

Additional Inherited Members

- Protected Member Functions inherited from TokenArrayScanner
 scan ()
 Scan.
 
 getUsesNoScan ($namespace)
 

Constructor & Destructor Documentation

__construct (   $file,
AnnotationManager  $annotationManager = null 
)
Parameters
string$file
AnnotationManager$annotationManager
Exceptions
Exception\InvalidArgumentException

Member Function Documentation

static clearCache ( )
static
Returns
void
getAnnotationManager ( )
Returns
AnnotationManager
getClass (   $className)
Parameters
int | string$className
Returns
ClassScanner
getClasses ( )
Returns
array
getClassNameInformation (   $className)
Parameters
string$className
Returns
bool|null|NameInformation
getClassNames ( )
Returns
array
getDocComment ( )
Returns
null|string
getFile ( )
Returns
array|null|string
getFunctionNames ( )
Returns
array
getFunctions ( )
Returns
array
getIncludes ( )
Returns
array
getNamespaces ( )
Returns
array
getUses (   $namespace = null)
Parameters
null | string$namespace
Returns
array|null

Member Data Documentation

$cache = []
staticprotected
$fileScanner = null
protected