function 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.

File

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

Class

DatabaseBackendFactory

Namespace

Drupal\Core\Cache

Code

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