AnnotationsCacheFlusher
final class AnnotationsCacheFlusher (View source)
Properties
protected LoggerInterface | $logger | ||
protected ConfigurationManager | $configurationManager | ||
protected CacheManager | $cacheManager | ||
protected ReflectionService | $reflectionService | The ReflectionService is only needed during compile time for handling flushConfigurationCachesByCompiledClass |
Methods
void
registerAnnotation(string $annotationClassName, array $cacheNames)
Register an annotation that should trigger a cache flush
void
flushConfigurationCachesByCompiledClass(array $classNames)
A slot that flushes caches as needed if classes with specific annotations have changed registerAnnotation()
Details
void
registerAnnotation(string $annotationClassName, array $cacheNames)
Register an annotation that should trigger a cache flush
void
flushConfigurationCachesByCompiledClass(array $classNames)
A slot that flushes caches as needed if classes with specific annotations have changed registerAnnotation()