Cache
9 months ago
Decorator
9 months ago
Event
9 months ago
Exception
9 months ago
Id
9 months ago
Internal
9 months ago
Mapping
9 months ago
Persisters
8 months ago
Proxy
9 months ago
Query
9 months ago
Repository
9 months ago
Tools
9 months ago
Utility
9 months ago
AbstractQuery.php
9 months ago
Cache.php
9 months ago
Configuration.php
9 months ago
EntityManager.php
9 months ago
EntityManagerInterface.php
9 months ago
EntityNotFoundException.php
9 months ago
EntityRepository.php
9 months ago
Events.php
9 months ago
LazyCriteriaCollection.php
9 months ago
NativeQuery.php
9 months ago
NoResultException.php
9 months ago
NonUniqueResultException.php
9 months ago
ORMException.php
9 months ago
ORMInvalidArgumentException.php
9 months ago
ORMSetup.php
9 months ago
OptimisticLockException.php
9 months ago
PersistentCollection.php
9 months ago
PessimisticLockException.php
9 months ago
Query.php
9 months ago
QueryBuilder.php
9 months ago
TransactionRequiredException.php
9 months ago
UnexpectedResultException.php
9 months ago
UnitOfWork.php
9 months ago
Version.php
9 months ago
index.php
9 months ago
Cache.php
30 lines
| 1 | <?php |
| 2 | declare (strict_types=1); |
| 3 | namespace MailPoetVendor\Doctrine\ORM; |
| 4 | if (!defined('ABSPATH')) exit; |
| 5 | use MailPoetVendor\Doctrine\ORM\Cache\QueryCache; |
| 6 | use MailPoetVendor\Doctrine\ORM\Cache\Region; |
| 7 | interface Cache |
| 8 | { |
| 9 | public const DEFAULT_QUERY_REGION_NAME = 'query_cache_region'; |
| 10 | public const DEFAULT_TIMESTAMP_REGION_NAME = 'timestamp_cache_region'; |
| 11 | public const MODE_GET = 1; |
| 12 | public const MODE_PUT = 2; |
| 13 | public const MODE_NORMAL = 3; |
| 14 | public const MODE_REFRESH = 4; |
| 15 | public function getEntityCacheRegion($className); |
| 16 | public function getCollectionCacheRegion($className, $association); |
| 17 | public function containsEntity($className, $identifier); |
| 18 | public function evictEntity($className, $identifier); |
| 19 | public function evictEntityRegion($className); |
| 20 | public function evictEntityRegions(); |
| 21 | public function containsCollection($className, $association, $ownerIdentifier); |
| 22 | public function evictCollection($className, $association, $ownerIdentifier); |
| 23 | public function evictCollectionRegion($className, $association); |
| 24 | public function evictCollectionRegions(); |
| 25 | public function containsQuery($regionName); |
| 26 | public function evictQueryRegion($regionName = null); |
| 27 | public function evictQueryRegions(); |
| 28 | public function getQueryCache($regionName = null); |
| 29 | } |
| 30 |