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 45

Class

DatabaseBackendFactory

Namespace

Drupal\Core\Cache

Code

function get($bin) {
  return new DatabaseBackend($this->connection, $this->checksumProvider, $bin);
}
doc_Drupal
2016-10-29 08:59:41
Comments
Leave a Comment

Please login to continue.