You are here

function DatabaseBackendFactory::get in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Cache/DatabaseBackendFactory.php \Drupal\Core\Cache\DatabaseBackendFactory::get()

Gets DatabaseBackend for the specified cache bin.

Parameters

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

Return value

\Drupal\Core\Cache\DatabaseBackend The cache backend object for the specified cache bin.

Overrides CacheFactoryInterface::get

File

core/lib/Drupal/Core/Cache/DatabaseBackendFactory.php, line 50
Contains \Drupal\Core\Cache\DatabaseBackendFactory.

Class

DatabaseBackendFactory

Namespace

Drupal\Core\Cache

Code

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