Query Cache Profile handles the data relevant for query caching.
It is a value object, setter methods return NEW instances.
| Methods | ||
|---|---|---|
| 
					
	public
					
					
				 | __construct(int $lifetime = 0, string|null $cacheKey = null, ?Cache $resultCache = null) | # | 
| 
					
	public
					
					
				 | getResultCacheDriver(): Cache|null | # | 
| 
					
	public
					
					
				 | getLifetime(): int | # | 
| 
					
	public
					
					
				 | getCacheKey(): string | # | 
| 
					
	public
					
					
				 | generateCacheKeys(
	string $sql,
	array<int, mixed>|array<string, mixed> $params,
	array<int, Type|int|string|null>|array<string, Type|int|string|null> $types,
	array<string, mixed> $connectionParams = [],
): string[] | # | 
| 
					
	public
					
					
				 | setResultCacheDriver(Cache $cache): QueryCacheProfile | # | 
| 
					
	public
					
					
				 | setCacheKey(string|null $cacheKey): QueryCacheProfile | # | 
| 
					
	public
					
					
				 | setLifetime(int $lifetime): QueryCacheProfile | # |