PHP Class Nette\Reflection\Method

Author: David Grudl
Inheritance: extends ReflectionMethod
Afficher le fichier Open project: nette/reflection Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public __toString ( )

from() public static méthode

public static from ( $class, $method ) : self
Résultat self

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

getDeclaringClass() public méthode

public getDeclaringClass ( ) : ClassType
Résultat ClassType

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

getPrototype() public méthode

public getPrototype ( ) : self
Résultat self

hasAnnotation() public méthode

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

toCallback() public méthode

Deprecation:
public toCallback ( )