diff options
Diffstat (limited to 'vendor/doctrine/orm/src/Cache/TimestampRegion.php')
-rw-r--r-- | vendor/doctrine/orm/src/Cache/TimestampRegion.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/vendor/doctrine/orm/src/Cache/TimestampRegion.php b/vendor/doctrine/orm/src/Cache/TimestampRegion.php new file mode 100644 index 0000000..b74fa8d --- /dev/null +++ b/vendor/doctrine/orm/src/Cache/TimestampRegion.php | |||
@@ -0,0 +1,18 @@ | |||
1 | <?php | ||
2 | |||
3 | declare(strict_types=1); | ||
4 | |||
5 | namespace Doctrine\ORM\Cache; | ||
6 | |||
7 | /** | ||
8 | * Defines the contract for a cache region which will specifically be used to store entity "update timestamps". | ||
9 | */ | ||
10 | interface TimestampRegion extends Region | ||
11 | { | ||
12 | /** | ||
13 | * Update a specific key into the cache region. | ||
14 | * | ||
15 | * @throws LockException Indicates a problem accessing the region. | ||
16 | */ | ||
17 | public function update(CacheKey $key): void; | ||
18 | } | ||