class FileCacheReader implements Reader (View source)

File cache reader for annotations.

Methods

__construct(Reader $reader, $cacheDir, $debug = false)

No description

getClassAnnotations(ReflectionClass $class)

No description

getPropertyAnnotations(ReflectionProperty $property)

No description

getMethodAnnotations(ReflectionMethod $method)

No description

getClassAnnotation(ReflectionClass $class, $annotationName)

Gets a class annotation.

getMethodAnnotation(ReflectionMethod $method, $annotationName)

Gets a method annotation.

getPropertyAnnotation(ReflectionProperty $property, $annotationName)

Gets a property annotation.

clearLoadedAnnotations()

No description

Details

__construct(Reader $reader, $cacheDir, $debug = false)

Parameters

Reader $reader
$cacheDir
$debug

getClassAnnotations(ReflectionClass $class)

Parameters

ReflectionClass $class

getPropertyAnnotations(ReflectionProperty $property)

Parameters

ReflectionProperty $property

getMethodAnnotations(ReflectionMethod $method)

Parameters

ReflectionMethod $method

getClassAnnotation(ReflectionClass $class, $annotationName)

Gets a class annotation.

Parameters

ReflectionClass $class
$annotationName

getMethodAnnotation(ReflectionMethod $method, $annotationName)

Gets a method annotation.

Parameters

ReflectionMethod $method
$annotationName

getPropertyAnnotation(ReflectionProperty $property, $annotationName)

Gets a property annotation.

Parameters

ReflectionProperty $property
$annotationName

clearLoadedAnnotations()