You are here

public function CacheRawFactoryInterface::get in Supercache 2.0.x

Same name and namespace in other branches
  1. 8 src/Cache/CacheRawFactoryInterface.php \Drupal\supercache\Cache\CacheRawFactoryInterface::get()

Gets a cache backend class for a given cache bin.

Parameters

string $bin: The cache bin for which a cache backend object should be returned.

Return value

\Drupal\supercache\Cache\CacheRawBackendInterface The cache backend object associated with the specified bin.

3 methods override CacheRawFactoryInterface::get()
ApcuRawBackendFactory::get in src/Cache/ApcuRawBackendFactory.php
Gets DatabaseBackend for the specified cache bin.
ChainedFastRawBackendFactory::get in src/Cache/ChainedFastRawBackendFactory.php
Instantiates a chained, fast cache backend class for a given cache bin.
DatabaseRawBackendFactory::get in src/Cache/DatabaseRawBackendFactory.php
Gets DatabaseBackend for the specified cache bin.

File

src/Cache/CacheRawFactoryInterface.php, line 24
Contains \Drupal\supercache\Cache\CacheRawFactoryInterface.

Class

CacheRawFactoryInterface
An interface defining cache factory classes.

Namespace

Drupal\supercache\Cache

Code

public function get($bin);