FileCacheReader
implements
Reader
File cache reader for annotations.
-
deprecated
-
the FileCacheReader is deprecated and will be removed
in version 2.0.0 of doctrine/annotations. Please use the
PsrCachedReader instead.
Interfaces, Classes and Traits
- Reader
- Interface for annotation readers.
Table of Contents
-
$classNameHashes
: array<string, string>
-
$debug
: bool
-
$dir
: string
-
$loadedAnnotations
: mixed
-
$reader
: Reader
-
$umask
: int
-
__construct()
: mixed
-
clearLoadedAnnotations()
: void
- Clears loaded annotations.
-
getClassAnnotation()
: T|null
- Gets a class annotation.
-
getClassAnnotations()
: array<string|int, object>
- Gets the annotations applied to a class.
-
getMethodAnnotation()
: T|null
- Gets a method annotation.
-
getMethodAnnotations()
: array<string|int, object>
- Gets the annotations applied to a method.
-
getPropertyAnnotation()
: T|null
- Gets a property annotation.
-
getPropertyAnnotations()
: array<string|int, object>
- Gets the annotations applied to a property.
-
saveCacheFile()
: void
- Saves the cache file.
$classNameHashes
private
array<string, string>
$classNameHashes
= []
$debug
private
bool
$debug
$dir
private
string
$dir
$loadedAnnotations
private
mixed
$loadedAnnotations
= []
-
phpstan-var
-
array<string, list