interface CacheDecoratorInterface
Defines an interface for cache decorator implementations.
Hierarchy
- interface \Drupal\Core\CacheDecorator\CacheDecoratorInterface
File
- core/lib/Drupal/Core/CacheDecorator/CacheDecoratorInterface.php, line 8
Namespace
Drupal\Core\CacheDecoratorMembers
Name | Modifiers | Type | Description |
---|---|---|---|
CacheDecoratorInterface::setCacheKey | public | function | Specify the key to use when writing the cache. |
CacheDecoratorInterface::writeCache | public | function | Write the cache. |
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!CacheDecorator!CacheDecoratorInterface.php/interface/CacheDecoratorInterface/8.1.x