PHP Class Go\Aop\Support\AnnotatedReflectionMethod

Inheritance: extends ReflectionMetho\ReflectionMethod
Show file Open project: goaop/framework Class Usage Examples

Public Methods

Method Description
getAnnotation ( string $annotationName ) : mixed Gets a method annotation.
getAnnotations ( ) : array Gets the annotations applied to a method.
getClosure ( $object )

Private Methods

Method Description
getReader ( ) : Doctrine\Common\Annotations\Reader Returns an annotation reader

Method Details

getAnnotation() public method

Gets a method annotation.
public getAnnotation ( string $annotationName ) : mixed
$annotationName string The name of the annotation.
return mixed The Annotation or NULL, if the requested annotation does not exist.

getAnnotations() public method

Gets the annotations applied to a method.
public getAnnotations ( ) : array
return array An array of Annotations.

getClosure() public method

public getClosure ( $object )