Methods

Constructor

__construct(string $file, \Zend\Code\Annotation\AnnotationManager $annotationManager) 

Parameters

$file

string

Exceptions

\Zend\Code\Exception\InvalidArgumentException

__toString()

__toString() 
Inherited

inherited_from \Zend\Code\Scanner\TokenArrayScanner::__toString()

export()

export($tokens) 
Inherited

inherited_from \Zend\Code\Scanner\TokenArrayScanner::export()

Parameters

$tokens

getAnnotationManager()

getAnnotationManager() 
Inherited

inherited_from \Zend\Code\Scanner\TokenArrayScanner::getAnnotationManager()

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

\Zend\Code\Exception\InvalidArgumentException

Returns

Get class name information

getClassNameInformation(string $className) : bool | null | \Zend\Code\NameInformation
Inherited

inherited_from \Zend\Code\Scanner\TokenArrayScanner::getClassNameInformation()

Parameters

$className

string

Returns

Get class names

getClassNames() : string[]
Inherited

inherited_from \Zend\Code\Scanner\TokenArrayScanner::getClassNames()

Returns

string[]

Get classes

getClasses() : \Zend\Code\Scanner\ClassScanner[]
Inherited

inherited_from \Zend\Code\Scanner\TokenArrayScanner::getClasses()

Returns

getDocComment()

getDocComment() 
Inherited

inherited_from \Zend\Code\Scanner\TokenArrayScanner::getDocComment()

Get file

getFile() : null | string

Returns

nullstring

Get function names

getFunctionNames() : string[]
Inherited

inherited_from \Zend\Code\Scanner\TokenArrayScanner::getFunctionNames()

Returns

string[]

getFunctions()

getFunctions() 
Inherited

inherited_from \Zend\Code\Scanner\TokenArrayScanner::getFunctions()

getIncludes()

getIncludes() 
Inherited

inherited_from \Zend\Code\Scanner\TokenArrayScanner::getIncludes()

getNamespaces()

getNamespaces() 
Inherited

inherited_from \Zend\Code\Scanner\TokenArrayScanner::getNamespaces()

Get uses

getUses(null | string $namespace) : array | null
Inherited

inherited_from \Zend\Code\Scanner\TokenArrayScanner::getUses()

Parameters

$namespace

nullstring

Returns

arraynull

getUsesNoScan()

getUsesNoScan($namespace) 
Inherited

inherited_from \Zend\Code\Scanner\TokenArrayScanner::getUsesNoScan()

Parameters

$namespace

scan()

scan() 
Inherited

inherited_from \Zend\Code\Scanner\TokenArrayScanner::scan()

 Properties

 

$annotationManager

$annotationManager : \Zend\Code\Annotation\AnnotationManager
Inherited

inherited_from \Zend\Code\Scanner\TokenArrayScanner::$$annotationManager
 

$docComment

$docComment : null
Inherited

inherited_from \Zend\Code\Scanner\TokenArrayScanner::$$docComment
 

$file

$file : string

 

$infos

$infos : array
Inherited

inherited_from \Zend\Code\Scanner\TokenArrayScanner::$$infos
 

$isScanned

$isScanned : bool
Inherited

inherited_from \Zend\Code\Scanner\TokenArrayScanner::$$isScanned
 

$nameInformation

$nameInformation : \Zend\Code\NameInformation
Inherited

inherited_from \Zend\Code\Scanner\TokenArrayScanner::$$nameInformation
 

$tokens

$tokens : array
Inherited

inherited_from \Zend\Code\Scanner\TokenArrayScanner::$$tokens