Methods
__construct()
__construct(string $file, \Zend\Code\Annotation\AnnotationManager $annotationManager)
Parameters
$file
string
Exceptions
__toString()
__toString()
Inherited
inherited_from |
\Zend\Code\Scanner\TokenArrayScanner::__toString() |
Export
export($tokens)
Inherited
inherited_from |
\Zend\Code\Scanner\TokenArrayScanner::export() |
Parameters
$tokens
Return the class object from this scanner
getClass(string | int $name) : \Zend\Code\Scanner\ClassScanner
Inherited
inherited_from |
\Zend\Code\Scanner\TokenArrayScanner::getClass() |
Parameters
$name
stringint
Exceptions
Returns
getClassNames()
getClassNames() : array
Inherited
inherited_from |
\Zend\Code\Scanner\TokenArrayScanner::getClassNames() |
Returns
array
getFile()
getFile() : string
getFunctionNames()
getFunctionNames() : array
Inherited
inherited_from |
\Zend\Code\Scanner\TokenArrayScanner::getFunctionNames() |
Returns
array
getFunctions()
getFunctions() : array
Inherited
inherited_from |
\Zend\Code\Scanner\TokenArrayScanner::getFunctions() |
Returns
array
getIncludes()
getIncludes() : array
Inherited
inherited_from |
\Zend\Code\Scanner\TokenArrayScanner::getIncludes() |
Returns
array
getNamespaces()
getNamespaces() : array
Inherited
inherited_from |
\Zend\Code\Scanner\TokenArrayScanner::getNamespaces() |
Returns
array
getUses()
getUses(null | string $namespace) : array | null
Inherited
inherited_from |
\Zend\Code\Scanner\TokenArrayScanner::getUses() |
Parameters
$namespace
nullstring
Returns
array
null
Check for namespace
hasNamespace(string $namespace) : bool
Inherited
inherited_from |
\Zend\Code\Scanner\TokenArrayScanner::hasNamespace() |
Parameters
$namespace
string
Returns
bool
getUsesNoScan()
getUsesNoScan(string $namespace) : null | array
Inherited
inherited_from |
\Zend\Code\Scanner\TokenArrayScanner::getUsesNoScan() |
Parameters
$namespace
string
Exceptions
Returns
null
array
Scan
scan()
Inherited
inherited_from |
\Zend\Code\Scanner\TokenArrayScanner::scan() |
Exceptions
Properties
$infos
$infos : array
Inherited
inherited_from |
\Zend\Code\Scanner\TokenArrayScanner::$$infos |
$isScanned
$isScanned : bool
Inherited
inherited_from |
\Zend\Code\Scanner\TokenArrayScanner::$$isScanned |
$tokens
$tokens : array
Inherited
inherited_from |
\Zend\Code\Scanner\TokenArrayScanner::$$tokens |