QueryCacheKey
extends CacheKey
in package
A cache key that identifies a particular query.
Table of Contents
- $cacheMode : int
- READ-ONLY: Public only for performance reasons, it should be considered immutable.
- $hash : string
- READ-ONLY: Public only for performance reasons, it should be considered immutable.
- $lifetime : int
- READ-ONLY: Public only for performance reasons, it should be considered immutable.
- $timestampKey : TimestampCacheKey|null
- READ-ONLY: Public only for performance reasons, it should be considered immutable.
- __construct() : mixed
Properties
$cacheMode
READ-ONLY: Public only for performance reasons, it should be considered immutable.
public
int
$cacheMode
Cache mode (Doctrine\ORM\Cache::MODE_*)
$hash
READ-ONLY: Public only for performance reasons, it should be considered immutable.
public
string
$hash
Unique identifier
$lifetime
READ-ONLY: Public only for performance reasons, it should be considered immutable.
public
int
$lifetime
Cache key lifetime
$timestampKey
READ-ONLY: Public only for performance reasons, it should be considered immutable.
public
TimestampCacheKey|null
$timestampKey
Methods
__construct()
public
__construct(string $cacheId, int $lifetime[, int $cacheMode = Cache::MODE_NORMAL ][, TimestampCacheKey|null $timestampKey = null ]) : mixed
Parameters
- $cacheId : string
- $lifetime : int
- $cacheMode : int = Cache::MODE_NORMAL
- $timestampKey : TimestampCacheKey|null = null