PHP Class ApiGen\Parser\Reflection\ReflectionElement

Inheritance: extends ApiGen\Parser\Reflection\ReflectionBase, implements ApiGen\Contracts\Parser\Reflection\ElementReflectionInterface
Datei anzeigen Open project: apigen/apigen Class Usage Examples

Protected Properties

Property Type Description
$annotations array
$isDocumented boolean

Public Methods

Method Description
addAnnotation ( $annotation, $value )
addReason ( TokenReflection\Exception\BaseException $reason )
getAnnotation ( $name )
getAnnotations ( )
getDocComment ( )
getEndPosition ( )
getExtension ( ) : ReflectionExtension | null
getExtensionName ( ) : boolean
getLongDescription ( )
getNamespaceAliases ( )
getNamespaceName ( )
getPackageName ( )
getPseudoNamespaceName ( )
getPseudoPackageName ( )
getReasons ( )
getShortDescription ( )
getStartPosition ( )
hasAnnotation ( $name )
hasReasons ( )
inNamespace ( )
inPackage ( )
isDeprecated ( )
isDocumented ( )
isMain ( )

Private Methods

Method Description
getAnnotationsFromReflection ( mixed $reflection ) : array

Method Details

addAnnotation() public method

public addAnnotation ( $annotation, $value )

addReason() public method

public addReason ( TokenReflection\Exception\BaseException $reason )
$reason TokenReflection\Exception\BaseException

getAnnotation() public method

public getAnnotation ( $name )

getAnnotations() public method

public getAnnotations ( )

getDocComment() public method

public getDocComment ( )

getEndPosition() public method

public getEndPosition ( )

getExtension() public method

public getExtension ( ) : ReflectionExtension | null
return ReflectionExtension | null

getExtensionName() public method

public getExtensionName ( ) : boolean
return boolean

getLongDescription() public method

public getLongDescription ( )

getNamespaceAliases() public method

public getNamespaceAliases ( )

getNamespaceName() public method

public getNamespaceName ( )

getPackageName() public method

public getPackageName ( )

getPseudoNamespaceName() public method

getPseudoPackageName() public method

getReasons() public method

public getReasons ( )

getShortDescription() public method

public getShortDescription ( )

getStartPosition() public method

public getStartPosition ( )

hasAnnotation() public method

public hasAnnotation ( $name )

hasReasons() public method

public hasReasons ( )

inNamespace() public method

public inNamespace ( )

inPackage() public method

public inPackage ( )

isDeprecated() public method

public isDeprecated ( )

isDocumented() public method

public isDocumented ( )

isMain() public method

public isMain ( )

Property Details

$annotations protected_oe property

protected array $annotations
return array

$isDocumented protected_oe property

protected bool $isDocumented
return boolean