You are here

public function CacheCacheTagsChecksum::__construct in Supercache 8

Same name and namespace in other branches
  1. 2.0.x src/Cache/CacheCacheTagsChecksum.php \Drupal\supercache\Cache\CacheCacheTagsChecksum::__construct()

Constructs a CacheCacheTagsChecksum object.

File

src/Cache/CacheCacheTagsChecksum.php, line 49
Contains \Drupal\supercache\Cache\CacheCacheTagsChecksum.

Class

CacheCacheTagsChecksum
Cache tags invalidations checksum implementation that uses a CacheRawBackendInterface as the storage.

Namespace

Drupal\supercache\Cache

Code

public function __construct(CacheRawFactoryInterface $cache) {
  $this->backend = $cache
    ->get('supercache_tags');
}