MemoryCacheInterface.php in Drupal 9
Same filename and directory in other branches
Namespace
Drupal\Core\Cache\MemoryCacheFile
core/lib/Drupal/Core/Cache/MemoryCache/MemoryCacheInterface.phpView source
<?php
namespace Drupal\Core\Cache\MemoryCache;
use Drupal\Core\Cache\CacheBackendInterface;
use Drupal\Core\Cache\CacheTagsInvalidatorInterface;
/**
* Defines an interface for memory cache implementations.
*
* This has additional requirements over CacheBackendInterface and
* CacheTagsInvalidatorInterface. Objects stored must be the same instance when
* retrieved from cache, so that this can be used as a replacement for protected
* properties and similar.
*
* @ingroup cache
*/
interface MemoryCacheInterface extends CacheBackendInterface, CacheTagsInvalidatorInterface {
}
Interfaces
Name | Description |
---|---|
MemoryCacheInterface | Defines an interface for memory cache implementations. |