Method | Description | |
---|---|---|
getAnnotation ( string $annotationName ) : mixed | Gets a method annotation. | |
getAnnotations ( ) : array | Gets the annotations applied to a method. | |
getClosure ( $object ) |
Method | Description | |
---|---|---|
getReader ( ) : Doctrine\Common\Annotations\Reader | Returns an annotation reader |
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. |
public getAnnotations ( ) : array | ||
return | array | An array of Annotations. |