AnnotationsCacheWarmer
extends AbstractPhpFileCacheWarmer
in package
Warms up annotation caches for classes found in composer's autoload class map and declared in DI bundle extensions using the addAnnotatedClassesToCache method.
Tags
Table of Contents
- $annotationReader : mixed
- $debug : mixed
- $excludeRegexp : mixed
- __construct() : mixed
- doWarmUp() : mixed
- {@inheritdoc}
- readAllComponents() : mixed
Properties
$annotationReader
private
mixed
$annotationReader
$debug
private
mixed
$debug
$excludeRegexp
private
mixed
$excludeRegexp
Methods
__construct()
public
__construct(Reader $annotationReader, string $phpArrayFile[, string $excludeRegexp = null ][, bool $debug = false ]) : mixed
Parameters
- $annotationReader : Reader
- $phpArrayFile : string
-
The PHP file where annotations are cached
- $excludeRegexp : string = null
- $debug : bool = false
Return values
mixed —doWarmUp()
{@inheritdoc}
protected
doWarmUp(mixed $cacheDir, ArrayAdapter $arrayAdapter) : mixed
Parameters
- $cacheDir : mixed
- $arrayAdapter : ArrayAdapter
Return values
mixed —readAllComponents()
private
readAllComponents(Reader $reader, string $class) : mixed
Parameters
- $reader : Reader
- $class : string