Doctrine\Common\Annotations\FileCacheReader
File cache reader for annotations.
- Author: Johannes M. Schmitt <schmittjoh@gmail.com>
Synopsis
class FileCacheReader
implements
Reader
{
- // members
- private Reader $reader;
- private string $dir;
- private bool $debug;
- private array $loadedAnnotations;
- // methods
- public void __construct()
- public array getClassAnnotations()
- public array getPropertyAnnotations()
- public array getMethodAnnotations()
- private void saveCacheFile()
- public mixed getClassAnnotation()
- public mixed getMethodAnnotation()
- public mixed getPropertyAnnotation()
- public void clearLoadedAnnotations()
Hierarchy
Implements
Members
private
- $debug — Doctrine\Common\Annotations\bool
- $dir — string
- $loadedAnnotations — array
- $reader — Doctrine\Common\Annotations\Reader
Methods
private
- saveCacheFile() — Save cache file
public
- __construct() — Constructor
- clearLoadedAnnotations() — Clear stores annotations
- getClassAnnotation() — Gets a class annotation.
- getClassAnnotations() — Retrieve annotations for class
- getMethodAnnotation() — Gets a method annotation.
- getMethodAnnotations() — Retrieve annotations for method
- getPropertyAnnotation() — Gets a property annotation.
- getPropertyAnnotations() — Get annotations for property