You are here

CacheDecoratorInterface.php in Zircon Profile 8.0

Same filename and directory in other branches
  1. 8 core/lib/Drupal/Core/CacheDecorator/CacheDecoratorInterface.php

File

core/lib/Drupal/Core/CacheDecorator/CacheDecoratorInterface.php
View source
<?php

/**
 * @file
 * Contains \Drupal\Core\CacheDecorator\CacheDecoratorInterface.
 */
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

Namesort descending Description
CacheDecoratorInterface Defines an interface for cache decorator implementations.