PHP Class Nette\Reflection\GlobalFunction

Author: David Grudl
Inheritance: extends ReflectionFunction
Afficher le fichier Open project: nette/reflection

Méthodes publiques

Méthode Description
__construct ( $name )
__toString ( )
getAnnotation ( $name ) : Nette\Reflection\IAnnotation Returns an annotation value.
getAnnotations ( ) : Nette\Reflection\IAnnotation[][] Returns all annotations.
getDescription ( ) : string Returns value of annotation 'description'.
getExtension ( ) : Extension
getParameters ( ) : Parameter[]
hasAnnotation ( $name ) : boolean Has method specified annotation?
toCallback ( )

Method Details

__construct() public méthode

public __construct ( $name )

__toString() public méthode

public __toString ( )

getAnnotation() public méthode

Returns an annotation value.
public getAnnotation ( $name ) : Nette\Reflection\IAnnotation
Résultat Nette\Reflection\IAnnotation

getAnnotations() public méthode

Returns all annotations.
public getAnnotations ( ) : Nette\Reflection\IAnnotation[][]
Résultat Nette\Reflection\IAnnotation[][]

getDescription() public méthode

Returns value of annotation 'description'.
public getDescription ( ) : string
Résultat string

getExtension() public méthode

public getExtension ( ) : Extension
Résultat Extension

getParameters() public méthode

public getParameters ( ) : Parameter[]
Résultat Parameter[]

hasAnnotation() public méthode

Has method specified annotation?
public hasAnnotation ( $name ) : boolean
Résultat boolean

toCallback() public méthode

Deprecation:
public toCallback ( )