CacheDecoratorInterface.php in Drupal 9
Same filename and directory in other branches
Namespace
Drupal\Core\CacheDecoratorFile
core/lib/Drupal/Core/CacheDecorator/CacheDecoratorInterface.phpView source
<?php
namespace Drupal\Core\CacheDecorator;
/**
* Defines an interface for cache decorator implementations.
*/
interface CacheDecoratorInterface {
/**
* Specify the key to use when writing the cache.
*/
public function setCacheKey($key);
/**
* Write the cache.
*/
public function writeCache();
}
Interfaces
Name | Description |
---|---|
CacheDecoratorInterface | Defines an interface for cache decorator implementations. |