function DatabaseRawBackendFactory::get in Supercache 8
Same name and namespace in other branches
- 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
Namespace
Drupal\supercache\CacheCode
function get($bin) {
return new DatabaseRawBackend($this->connection, $bin);
}