QueryCacheKey
extends CacheKey
in package
A cache key that identifies a particular query.
Table of Contents
Properties
- $cacheMode : int
- Cache mode
- $hash : string
- Unique identifier
- $lifetime : int
- Cache key lifetime
- $timestampKey : TimestampCacheKey|null
Methods
- __construct() : mixed
Properties
$cacheMode
Cache mode
public
int
$cacheMode
Tags
$hash
Unique identifier
public
string
$hash
Tags
$lifetime
Cache key lifetime
public
int
$lifetime
Tags
$timestampKey
public
TimestampCacheKey|null
$timestampKey
Tags
Methods
__construct()
public
__construct(string $cacheId[, int $lifetime = 0 ][, int $cacheMode = Cache::MODE_NORMAL ][, TimestampCacheKey|null $timestampKey = null ]) : mixed
Parameters
- $cacheId : string
- $lifetime : int = 0
- $cacheMode : int = Cache::MODE_NORMAL
- $timestampKey : TimestampCacheKey|null = null