You are here

CacheRawFactoryInterface.php in Supercache 8

Same filename and directory in other branches
  1. 2.0.x src/Cache/CacheRawFactoryInterface.php

File

src/Cache/CacheRawFactoryInterface.php
View source
<?php

/**
 * @file
 * Contains \Drupal\supercache\Cache\CacheRawFactoryInterface.
 */
namespace Drupal\supercache\Cache;


/**
 * An interface defining cache factory classes.
 */
interface CacheRawFactoryInterface {

  /**
   * Gets a cache backend class for a given cache bin.
   *
   * @param string $bin
   *   The cache bin for which a cache backend object should be returned.
   *
   * @return \Drupal\supercache\Cache\CacheRawBackendInterface
   *   The cache backend object associated with the specified bin.
   */
  public function get($bin);

}

Interfaces

Namesort descending Description
CacheRawFactoryInterface An interface defining cache factory classes.