[ Index ]

PHP Cross Reference of phpBB-3.3.11-deutsch

title

Body

[close]

/vendor/zendframework/zend-code/src/Scanner/ -> ClassScanner.php (summary)

Zend Framework (http://framework.zend.com/)

Copyright: Copyright (c) 2005-2016 Zend Technologies USA Inc. (http://www.zend.com)
License: http://framework.zend.com/license/new-bsd New BSD License
File Size: 1363 lines (41 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

ClassScanner:: (36 methods):
  __construct()
  getAnnotations()
  getDocComment()
  getDocBlock()
  getName()
  getShortName()
  getLineStart()
  getLineEnd()
  isFinal()
  isTrait()
  isInstantiable()
  isAbstract()
  isInterface()
  hasParentClass()
  getParentClass()
  getInterfaces()
  getConstantNames()
  getConstants()
  getConstant()
  hasConstant()
  getPropertyNames()
  getProperties()
  getProperty()
  hasProperty()
  getTraits()
  getTraitNames()
  getTraitAliases()
  getVisibilityForAlias()
  getBlockedTraitMethods()
  getMethodNames()
  getMethods()
  getMethod()
  hasMethod()
  export()
  __toString()
  scan()


Class: ClassScanner  - X-Ref

__construct(array $classTokens, NameInformation $nameInformation = null)   X-Ref

return: ClassScanner
param: array $classTokens
param: NameInformation|null $nameInformation

getAnnotations(Annotation\AnnotationManager $annotationManager)   X-Ref
Get annotations

return: Annotation\AnnotationCollection
param: Annotation\AnnotationManager $annotationManager

getDocComment()   X-Ref
Return documentation comment

return: null|string

getDocBlock()   X-Ref
Return documentation block

return: false|DocBlockScanner

getName()   X-Ref
Return a name of class

return: null|string

getShortName()   X-Ref
Return short name of class

return: null|string

getLineStart()   X-Ref
Return number of first line

return: int|null

getLineEnd()   X-Ref
Return number of last line

return: int|null

isFinal()   X-Ref
Verify if class is final

return: bool

isTrait()   X-Ref
Verify if class is a trait

return: bool

isInstantiable()   X-Ref
Verify if class is instantiable

return: bool

isAbstract()   X-Ref
Verify if class is an abstract class

return: bool

isInterface()   X-Ref
Verify if class is an interface

return: bool

hasParentClass()   X-Ref
Verify if class has parent

return: bool

getParentClass()   X-Ref
Return a name of parent class

return: null|string

getInterfaces()   X-Ref
Return a list of interface names

return: array

getConstantNames()   X-Ref
Return a list of constant names

return: array

getConstants($namesOnly = true)   X-Ref
Return a list of constants

return: array|ConstantScanner[]
param: bool $namesOnly Set false to return instances of ConstantScanner

getConstant($constantNameOrInfoIndex)   X-Ref
Return a single constant by given name or index of info

return: bool|ConstantScanner
param: string|int $constantNameOrInfoIndex

hasConstant($name)   X-Ref
Verify if class has constant

return: bool
param: string $name

getPropertyNames()   X-Ref
Return a list of property names

return: array

getProperties()   X-Ref
Return a list of properties

return: PropertyScanner[]

getProperty($propertyNameOrInfoIndex)   X-Ref
Return a single property by given name or index of info

return: bool|PropertyScanner
param: string|int $propertyNameOrInfoIndex

hasProperty($name)   X-Ref
Verify if class has property

return: bool
param: string $name

getTraits()   X-Ref
Retrieve any traits used by the class.

return: ClassScanner[]

getTraitNames()   X-Ref
Retrieve a list of trait names used by this class.

return: array

getTraitAliases()   X-Ref
Retrieve a list of aliased traits used by the class.

return: array

getVisibilityForAlias($aliasName)   X-Ref
Retrieve visibility for a given alias.

return: string
param: mixed $aliasName

getBlockedTraitMethods()   X-Ref
Return an array of key = trait to keep, value = trait::method to ignore

return: array

getMethodNames()   X-Ref
Return a list of method names

return: array

getMethods()   X-Ref
Return a list of methods

return: MethodScanner[]

getMethod($methodNameOrInfoIndex)   X-Ref
Return a single method by given name or index of info

return: MethodScanner
param: string|int $methodNameOrInfoIndex

hasMethod($name)   X-Ref
Verify if class has method by given name

return: bool
param: string $name

export()   X-Ref
No description

__toString()   X-Ref
No description

scan()   X-Ref
Scan tokens

return: void



Generated: Sat Nov 4 14:26:03 2023 Cross-referenced by PHPXref 0.7.1