class QueryCacheKey extends CacheKey (View source)

A cache key that identifies a particular query.

Properties

string $hash READ-ONLY: Public only for performance reasons, it should be considered immutable. from CacheKey
int $lifetime READ-ONLY: Public only for performance reasons, it should be considered immutable.
int $cacheMode READ-ONLY: Public only for performance reasons, it should be considered immutable.
TimestampCacheKey|null $timestampKey READ-ONLY: Public only for performance reasons, it should be considered immutable.

Methods

__construct(string $cacheId, int $lifetime = 0, int $cacheMode = Cache::MODE_NORMAL, TimestampCacheKey|null $timestampKey = null)

No description

Details

__construct(string $cacheId, int $lifetime = 0, int $cacheMode = Cache::MODE_NORMAL, TimestampCacheKey|null $timestampKey = null)

Parameters

string $cacheId
int $lifetime
int $cacheMode
TimestampCacheKey|null $timestampKey