blob: 2372e5a253e6479d4da3579444c62104eb5c2ad5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<?php
declare(strict_types=1);
namespace Doctrine\ORM\Cache;
use Doctrine\ORM\Cache;
/**
* A cache key that identifies a particular query.
*/
class QueryCacheKey extends CacheKey
{
/** @param Cache::MODE_* $cacheMode */
public function __construct(
string $cacheId,
public readonly int $lifetime = 0,
public readonly int $cacheMode = Cache::MODE_NORMAL,
public readonly TimestampCacheKey|null $timestampKey = null,
) {
parent::__construct($cacheId);
}
}
|