You are here

interface CacheDecoratorInterface in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/CacheDecorator/CacheDecoratorInterface.php \Drupal\Core\CacheDecorator\CacheDecoratorInterface

Defines an interface for cache decorator implementations.

Hierarchy

Expanded class hierarchy of CacheDecoratorInterface

All classes that implement CacheDecoratorInterface

1 file declares its use of CacheDecoratorInterface
AliasManager.php in core/lib/Drupal/Core/Path/AliasManager.php
Contains \Drupal\Core\Path\AliasManager.

File

core/lib/Drupal/Core/CacheDecorator/CacheDecoratorInterface.php, line 13
Contains \Drupal\Core\CacheDecorator\CacheDecoratorInterface.

Namespace

Drupal\Core\CacheDecorator
View source
interface CacheDecoratorInterface {

  /**
   * Specify the key to use when writing the cache.
   */
  public function setCacheKey($key);

  /**
   * Write the cache.
   */
  public function writeCache();

}

Members

Namesort descending Modifiers Type Description Overrides
CacheDecoratorInterface::setCacheKey public function Specify the key to use when writing the cache. 1
CacheDecoratorInterface::writeCache public function Write the cache. 1