PHP Class Nette\Reflection\Method

Author: David Grudl
Inheritance: extends ReflectionMethod
Datei anzeigen Open project: nette/reflection Class Usage Examples

Public Methods

Method Description
__toString ( )
from ( $class, $method ) : self
getAnnotation ( $name ) : Nette\Reflection\IAnnotation Returns an annotation value.
getAnnotations ( ) : Nette\Reflection\IAnnotation[][] Returns all annotations.
getDeclaringClass ( ) : ClassType
getDescription ( ) : string Returns value of annotation 'description'.
getExtension ( ) : Extension
getParameters ( ) : Parameter[]
getPrototype ( ) : self
hasAnnotation ( $name ) : boolean Has method specified annotation?
toCallback ( )

Method Details

__toString() public method

public __toString ( )

from() public static method

public static from ( $class, $method ) : self
return self

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[][]

getDeclaringClass() public method

public getDeclaringClass ( ) : ClassType
return ClassType

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[]

getPrototype() public method

public getPrototype ( ) : self
return self

hasAnnotation() public method

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

toCallback() public method

Deprecation:
public toCallback ( )