function DatabaseCacheTagsChecksum::__construct

Constructs a DatabaseCacheTagsChecksum object.

Parameters

\Drupal\Core\Database\Connection $connection: The database connection.

File

core/lib/Drupal/Core/Cache/DatabaseCacheTagsChecksum.php, line 28

Class

DatabaseCacheTagsChecksum
Cache tags invalidations checksum implementation that uses the database.

Namespace

Drupal\Core\Cache

Code

public function __construct(Connection $connection) {
  $this->connection = $connection;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.