Zend\Code\Scanner\CachingFileScanner
Synopsis
class CachingFileScanner
extends FileScanner
{
- // members
- protected array $cache;
- protected null|FileScanner $fileScanner;
- // Inherited members from FileScanner
- protected string $file;
- // Inherited members from TokenArrayScanner
- protected bool $isScanned;
- protected array $tokens;
- protected null $docComment;
- protected NameInformation $nameInformation;
- protected array $infos;
- protected AnnotationManager $annotationManager;
- // methods
- public void __construct()
- public static void clearCache()
- public AnnotationManager getAnnotationManager()
- public array|null|string getFile()
- public null|string getDocComment()
- public array getNamespaces()
- public array|null getUses()
- public array getIncludes()
- public array getClassNames()
- public array getClasses()
- public ClassScanner getClass()
- public bool|null|NameInformation getClassNameInformation()
- public array getFunctionNames()
- public array getFunctions()
- // Inherited methods from FileScanner
- public void __construct()
- public null|string getFile()
- // Inherited methods from TokenArrayScanner
- public void __construct()
- public AnnotationManager getAnnotationManager()
- public string getDocComment()
- public array getNamespaces()
- public array|null getUses()
- public array getIncludes()
- public array getClassNames()
- public array getClasses()
- public ClassScanner getClass()
- public bool|null|NameInformation getClassNameInformation()
- public array getFunctionNames()
- public array getFunctions()
- public static void export()
- public void __toString()
- protected void scan()
- public bool hasNamespace()
- protected null|array getUsesNoScan()
Hierarchy
Extends
Tasks
Line | Task |
---|---|
74+ | Assignment of $this->docComment should probably be done in scan() |
291+ | : $this->docComment should be assigned for valid docblock during |
Members
protected
- $annotationManager — Zend\Code\Annotation\AnnotationManager
- $cache — array
- $docComment — Zend\Code\Scanner\null
- $file — string
- $fileScanner — Zend\Code\Scanner\null|FileScanner
- $infos — array
- $isScanned — Zend\Code\Scanner\bool
- $nameInformation — Zend\Code\NameInformation
- $tokens — array
Methods
public
- __construct()
- clearCache()
- getAnnotationManager()
- getClass()
- getClassNameInformation()
- getClassNames()
- getClasses()
- getDocComment()
- getFile()
- getFunctionNames()
- getFunctions()
- getIncludes()
- getNamespaces()
- getUses()
Inherited from Zend\Code\Scanner\FileScanner
public
Inherited from Zend\Code\Scanner\TokenArrayScanner
protected
- getUsesNoScan()
- scan() — Scan
public
- __toString()
- export() — Export
- getAnnotationManager()
- getClass() — Return the class object from this scanner
- getClassNameInformation()
- getClassNames()
- getClasses()
- getDocComment() — Get doc comment
- getFunctionNames()
- getFunctions()
- getIncludes()
- getNamespaces()
- getUses()
- hasNamespace() — Check for namespace