Methods
Constructor
__construct(array $classTokens, \Zend\Code\NameInformation $nameInformation) : \Zend\Code\Scanner\ClassScanner
Parameters
$classTokens
array
Returns
__toString()
__toString()
Get annotations
getAnnotations() : array
Get constants
getConstants() : array
Get interfaces
getInterfaces() : string[]
Get line end
getLineEnd() : int | null
Get line start
getLineStart() : int | null
Get method names
getMethodNames() : array
Get name
getName() : null | string
Get parent class
getParentClass() : null | string
Get properties
getProperties() : array
Get property names
getPropertyNames() : array
Get short name
getShortName() : null | string
Has method
hasMethod(string $name) : bool
Parameters
$name
string
Returns
bool
Has parent class
hasParentClass() : bool
Check for abstract
isAbstract() : bool
Check for final
isFinal() : bool
Check for instantiable
isInstantiable() : bool
Check for interface
isInterface() : bool
Properties
$interfaces
$interfaces : string[]
$isAbstract
$isAbstract : bool
$isInterface
$isInterface : bool
$isScanned
$isScanned : bool
$lineStart
$lineStart : int
$parentClass
$parentClass : string
$shortInterfaces
$shortInterfaces : string[]
$shortName
$shortName : string
$shortParentClass
$shortParentClass : string