Methods

Constructor

__construct(\Zend\Code\Scanner\ClassScanner $classScanner, \Zend\Code\Scanner\DirectoryScanner $directoryScanner) : \Zend\Code\Scanner\ClassScanner

__toString()

__toString() 
Inherited

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

Export

export() 
Inherited

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

Get annotations

getAnnotations() : array
Inherited

inherited_from \Zend\Code\Scanner\ClassScanner::getAnnotations()

Returns

array

Get constants

getConstants() : array

Returns

array

Get doc block

getDocBlock() : false | \Zend\Code\Scanner\DocBlockScanner
Inherited

inherited_from \Zend\Code\Scanner\ClassScanner::getDocBlock()

Returns

Get doc comment

getDocComment() : null | string
Inherited

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

Returns

nullstring

Get interfaces

getInterfaces(bool $returnClassScanners) : array

Parameters

$returnClassScanners

bool

Returns

array

Get line end

getLineEnd() : int | null
Inherited

inherited_from \Zend\Code\Scanner\ClassScanner::getLineEnd()

Returns

intnull

Get line start

getLineStart() : int | null
Inherited

inherited_from \Zend\Code\Scanner\ClassScanner::getLineStart()

Returns

intnull

Get method

getMethod(int | string $methodNameOrInfoIndex) : \Zend\Code\Scanner\MethodScanner

Parameters

$methodNameOrInfoIndex

intstring

Exceptions

\Zend\Code\Exception\InvalidArgumentException

Returns

Get method names

getMethodNames() : array

Returns

array

Get name

getName() : null | string

Returns

nullstring

Get parent class

getParentClass() : null | string

Returns

nullstring

Get parent classes

getParentClasses() : array

Returns

array

Get properties

getProperties(bool $returnScannerProperty) : array

Parameters

$returnScannerProperty

bool

Returns

array

Get property names

getPropertyNames() : array
Inherited

inherited_from \Zend\Code\Scanner\ClassScanner::getPropertyNames()

Returns

array

Get short name

getShortName() : null | string

Returns

nullstring

Check for method

hasMethod(string $name) : bool

Parameters

$name

string

Returns

bool

Check for parent class

hasParentClass() : bool

Returns

bool

Check if is abstract

isAbstract() : bool

Returns

bool

Check if final

isFinal() : bool

Returns

bool

Check if instantiable

isInstantiable() : bool

Returns

bool

Check if is interface

isInterface() : bool

Returns

bool

Scan

scan() : void
Inherited

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

Exceptions

\Zend\Code\Exception\RuntimeException

 Properties

 

$classScanner

$classScanner : \Zend\Code\Scanner\ClassScanner

 

$directoryScanner

$directoryScanner : \Zend\Code\Scanner\DirectoryScanner

 

$docComment

$docComment : string
Inherited

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

$infos

$infos : array[]
Inherited

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

$interfaceClassScanners

$interfaceClassScanners : array

 

$interfaces

$interfaces : string[]
Inherited

inherited_from \Zend\Code\Scanner\ClassScanner::$$interfaces
 

$isAbstract

$isAbstract : bool
Inherited

inherited_from \Zend\Code\Scanner\ClassScanner::$$isAbstract
 

$isFinal

$isFinal : bool
Inherited

inherited_from \Zend\Code\Scanner\ClassScanner::$$isFinal
 

$isInterface

$isInterface : bool
Inherited

inherited_from \Zend\Code\Scanner\ClassScanner::$$isInterface
 

$isScanned

$isScanned : bool
Inherited

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

$lineEnd

$lineEnd : int
Inherited

inherited_from \Zend\Code\Scanner\ClassScanner::$$lineEnd
 

$lineStart

$lineStart : int
Inherited

inherited_from \Zend\Code\Scanner\ClassScanner::$$lineStart
 

$name

$name : string
Inherited

inherited_from \Zend\Code\Scanner\ClassScanner::$$name
 

$nameInformation

$nameInformation : \Zend\Code\NameInformation
Inherited

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

$parentClass

$parentClass : string
Inherited

inherited_from \Zend\Code\Scanner\ClassScanner::$$parentClass
 

$parentClassScanners

$parentClassScanners : array

 

$shortInterfaces

$shortInterfaces : string[]
Inherited

inherited_from \Zend\Code\Scanner\ClassScanner::$$shortInterfaces
 

$shortName

$shortName : string
Inherited

inherited_from \Zend\Code\Scanner\ClassScanner::$$shortName
 

$shortParentClass

$shortParentClass : string
Inherited

inherited_from \Zend\Code\Scanner\ClassScanner::$$shortParentClass
 

$tokens

$tokens : array
Inherited

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