CacheDecoratorInterface.php
Same filename in other branches
Namespace
Drupal\Core\CacheDecoratorFile
-
core/
lib/ Drupal/ Core/ CacheDecorator/ CacheDecoratorInterface.php
View 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
Title | Deprecated | Summary |
---|---|---|
CacheDecoratorInterface | Defines an interface for cache decorator implementations. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.