You are here

function DatabaseRawBackendFactory::get in Supercache 8

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

Gets DatabaseBackend for the specified cache bin.

Parameters

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

Return value

\Drupal\supercache\Cache\DatabaseRawBackend The cache backend object for the specified cache bin.

Overrides CacheRawFactoryInterface::get

File

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

Class

DatabaseRawBackendFactory

Namespace

Drupal\supercache\Cache

Code

function get($bin) {
  return new DatabaseRawBackend($this->connection, $bin);
}