diff options
Diffstat (limited to 'vendor/doctrine/orm/src/Cache/Persister/CachedPersister.php')
-rw-r--r-- | vendor/doctrine/orm/src/Cache/Persister/CachedPersister.php | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/vendor/doctrine/orm/src/Cache/Persister/CachedPersister.php b/vendor/doctrine/orm/src/Cache/Persister/CachedPersister.php new file mode 100644 index 0000000..223692c --- /dev/null +++ b/vendor/doctrine/orm/src/Cache/Persister/CachedPersister.php | |||
@@ -0,0 +1,25 @@ | |||
1 | <?php | ||
2 | |||
3 | declare(strict_types=1); | ||
4 | |||
5 | namespace Doctrine\ORM\Cache\Persister; | ||
6 | |||
7 | use Doctrine\ORM\Cache\Region; | ||
8 | |||
9 | /** | ||
10 | * Interface for persister that support second level cache. | ||
11 | */ | ||
12 | interface CachedPersister | ||
13 | { | ||
14 | /** | ||
15 | * Perform whatever processing is encapsulated here after completion of the transaction. | ||
16 | */ | ||
17 | public function afterTransactionComplete(): void; | ||
18 | |||
19 | /** | ||
20 | * Perform whatever processing is encapsulated here after completion of the rolled-back. | ||
21 | */ | ||
22 | public function afterTransactionRolledBack(): void; | ||
23 | |||
24 | public function getCacheRegion(): Region; | ||
25 | } | ||