You are here

function DatabaseBackendFactory::__construct 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::__construct()

Constructs the DatabaseBackendFactory object.

Parameters

\Drupal\Core\Database\Connection $connection: Database connection

\Drupal\Core\Cache\CacheTagsChecksumInterface $checksum_provider: The cache tags checksum provider.

File

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

Class

DatabaseBackendFactory

Namespace

Drupal\Core\Cache

Code

function __construct(Connection $connection, CacheTagsChecksumInterface $checksum_provider) {
  $this->connection = $connection;
  $this->checksumProvider = $checksum_provider;
}