Methods
__construct()
__construct(null | array $tokens, \Zend\Code\Annotation\AnnotationManager $annotationManager)
Parameters
$tokens
nullarray
__toString()
__toString()
getClassNames()
getClassNames() : array
getFunctionNames()
getFunctionNames() : array
getFunctions()
getFunctions() : array
getIncludes()
getIncludes() : array
getNamespaces()
getNamespaces() : array
getUses()
getUses(null | string $namespace) : array | null
Parameters
$namespace
nullstring
Returns
array
null
Check for namespace
hasNamespace(string $namespace) : bool
Parameters
$namespace
string
Returns
bool
getUsesNoScan()
getUsesNoScan(string $namespace) : null | array
Parameters
$namespace
string
Exceptions
Returns
null
array
Scan
scan()
todo |
: $this->docComment should be assigned for valid docblock during
the scan instead of $this->getDocComment() (starting with
T_DOC_COMMENT case) |
Exceptions
Properties
$isScanned
$isScanned : bool