PHP Class Nette\Reflection\GlobalFunction

Author: David Grudl
Inheritance: extends ReflectionFunction
Show file Open project: nette/reflection

Public Methods

Method 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 method

public __construct ( $name )

__toString() public method

public __toString ( )

getAnnotation() public method

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

getAnnotations() public method

Returns all annotations.
public getAnnotations ( ) : Nette\Reflection\IAnnotation[][]
return Nette\Reflection\IAnnotation[][]

getDescription() public method

Returns value of annotation 'description'.
public getDescription ( ) : string
return string

getExtension() public method

public getExtension ( ) : Extension
return Extension

getParameters() public method

public getParameters ( ) : Parameter[]
return Parameter[]

hasAnnotation() public method

Has method specified annotation?
public hasAnnotation ( $name ) : boolean
return boolean

toCallback() public method

Deprecation:
public toCallback ( )