Zend\Code\Scanner\TokenArrayScanner
Synopsis
class TokenArrayScanner
implements
ScannerInterface
{
- // members
- protected bool $isScanned;
- protected array $tokens;
- protected null $docComment;
- protected NameInformation $nameInformation;
- protected array $infos;
- protected AnnotationManager $annotationManager;
- // methods
- 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
Extended by
Implements
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
- $docComment — Zend\Code\Scanner\null
- $infos — array
- $isScanned — Zend\Code\Scanner\bool
- $nameInformation — Zend\Code\NameInformation
- $tokens — array
Methods
protected
- getUsesNoScan()
- scan() — Scan
public
- __construct()
- __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