class CachedReader implements Reader (View source)

A cache aware annotation reader.

Methods

__construct(Reader $reader, Cache $cache, $debug = false)

No description

getClassAnnotations(ReflectionClass $class)

No description

getClassAnnotation(ReflectionClass $class, $annotationName)

No description

getPropertyAnnotations(ReflectionProperty $property)

No description

getPropertyAnnotation(ReflectionProperty $property, $annotationName)

No description

getMethodAnnotations(ReflectionMethod $method)

No description

getMethodAnnotation(ReflectionMethod $method, $annotationName)

No description

clearLoadedAnnotations()

No description

Details

__construct(Reader $reader, Cache $cache, $debug = false)

Parameters

Reader $reader
Cache $cache
$debug

getClassAnnotations(ReflectionClass $class)

Parameters

ReflectionClass $class

getClassAnnotation(ReflectionClass $class, $annotationName)

Parameters

ReflectionClass $class
$annotationName

getPropertyAnnotations(ReflectionProperty $property)

Parameters

ReflectionProperty $property

getPropertyAnnotation(ReflectionProperty $property, $annotationName)

Parameters

ReflectionProperty $property
$annotationName

getMethodAnnotations(ReflectionMethod $method)

Parameters

ReflectionMethod $method

getMethodAnnotation(ReflectionMethod $method, $annotationName)

Parameters

ReflectionMethod $method
$annotationName

clearLoadedAnnotations()