AnnotationsCacheWarmer

AnnotationsCacheWarmer

class AnnotationsCacheWarmer implements CacheWarmerInterface

Warms up annotation caches for classes found in composer's autoload class map and declared in DI bundle extensions using the addAnnotatedClassesToCache method.

Methods

__construct(Reader $annotationReader, string $phpArrayFile, CacheItemPoolInterface $fallbackPool)
warmUp(string $cacheDir)

Warms up the cache.

bool isOptional()

Checks whether this warmer is optional or not.

Deta