You are here

function ApcuRawBackendFactory::get in Supercache 2.0.x

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

Gets DatabaseBackend for the specified cache bin.

Parameters

$bin: The cache bin for which the object is created.

Return value

ApcuRawBackend The cache backend object for the specified cache bin.

Overrides CacheRawFactoryInterface::get

File

src/Cache/ApcuRawBackendFactory.php, line 43
Contains \Drupal\supercache\Cache\ApcuRawBackendFactory.

Class

ApcuRawBackendFactory

Namespace

Drupal\supercache\Cache

Code

function get($bin) {
  return new ApcuRawBackend($bin, $this->sitePrefix);
}