summaryrefslogtreecommitdiff
path: root/vendor/doctrine/orm/src/Cache/TimestampRegion.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/doctrine/orm/src/Cache/TimestampRegion.php')
-rw-r--r--vendor/doctrine/orm/src/Cache/TimestampRegion.php18
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
3declare(strict_types=1);
4
5namespace Doctrine\ORM\Cache;
6
7/**
8 * Defines the contract for a cache region which will specifically be used to store entity "update timestamps".
9 */
10interface 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}