[ Index ]

PHP Cross Reference of phpBB-3.3.2-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

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

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

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

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

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

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

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

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

param: string $name
return: bool

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

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

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

param: string $name
return: bool

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.

param: mixed $aliasName
return: string

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

param: string|int $methodNameOrInfoIndex
return: MethodScanner

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

param: string $name
return: bool

export()   X-Ref
No description

__toString()   X-Ref
No description

scan()   X-Ref
Scan tokens

return: void



Generated: Wed Nov 11 20:28:18 2020 Cross-referenced by PHPXref 0.7.1